55# what needs to be set for every new release:
66# Note use of full year (1998) in identifier.
77# THE_YEAR = YYYY
8- THE_YEAR = 2015
8+ THE_YEAR = 2016
99# THE_MONTH = MM
10- THE_MONTH = 09
10+ THE_MONTH = 03
1111# THE_MONTHNAME = MMMMM
12- THE_MONTHNAME = September
12+ THE_MONTHNAME = March
1313# THE_DAY = DD
14- THE_DAY = 04
14+ THE_DAY = 29
1515# THE_STATUS = FPWD
1616THE_STATUS = ED
1717# THE_STATUSNAME = First Public Working Draft
1818THE_STATUSNAME = Editors' Draft
1919# THE_STYLE = WD
2020THE_STYLE = ED
2121
22- PREV_YEAR = 2015
23- PREV_MONTH = 06
24- PREV_DAY = 02
22+ PREV_YEAR =
23+ PREV_MONTH =
24+ PREV_DAY =
2525PREV_STATUS = WD
2626PREV_NAME = CSS22
2727
2828PERMANENT_NAME = CSS22
2929
3030# A very visible warning after the first H1 on every page (or at the
3131# location of the _THE_WARNING_ placeholder on some pages). Leave
32- # empty if none is needed. (Escape any & as \&. )
32+ # empty if none is needed. (Escape any & as \&, # as \# and " as \" )
3333#
34- THE_WARNING =
34+ THE_WARNING = <DIV> \
35+ <INPUT ID=annoying-warning TYPE=CHECKBOX TITLE=\"hide note\"> \
36+ <LABEL FOR=annoying-warning>(hide)</LABEL> \
37+ <DIV CLASS=annoying-warning> \
38+ <P><STRONG>Note:</STRONG> several sections of this specification \
39+ have been extended by other specifications. Please, see <a \
40+ href=\"https://www.w3.org/TR/CSS/\# css\" >\"Cascading Style Sheets \
41+ (CSS) \— The Official Definition\"</a> in the latest <CITE>CSS \
42+ Snapshot</CITE> for a list of specifications and the sections they \
43+ replace. \
44+ </DIV> \
45+ </DIV>
3546
3647# WEBROOT = /afs/w3.org/WWW
3748WEBROOT = $(HOME ) /WWW
@@ -260,7 +271,7 @@ LN= ln
260271
261272% .subtoc : % .srd Project.cfg
262273 @echo " =========== making" $@
263- echo " <div class=\" subtoc\" >" > $@
274+ echo " <div id= \" toc \" class=\" subtoc\" >" > $@
264275 echo " <p><strong>Contents</strong>" >> $@
265276 $(MKTOC ) -l 2 -r $* .html $(HEADINGDB ) >> $@
266277 echo " </div>" >> $@
@@ -270,13 +281,15 @@ LN= ln
270281# at the cost of possibly incorrect xrefs in the other .html files
271282#
272283# %.html: %.subtoc Project.cfg
273- % .html : % .subtoc $(MAINSRCS:.src=.srd ) $(APPSRCS:.src=.srd ) Project.cfg build/warning # $(SPECSRCS:.src=.srd)
284+ % .html : % .subtoc $(MAINSRCS:.src=.srd ) $(APPSRCS:.src=.srd ) Project.cfg build/warning build/meta-viewport build/fixup-js # $(SPECSRCS:.src=.srd)
274285 @echo " =========== making" $@
275286 $(ADDLINKS ) $(VALUEDB ) $* .srd propinst-/propdef- value-inst-/value-def- | \
276287 $(ADDIDXANCH ) -r $@ $(INDEXDB ) - | \
277288 $(ADDMARKUP ) - | \
278289 $(ADDLONGDESC ) - | \
279290 $(ADDNAVBAR ) -r $@ | \
291+ $(INSAFTER ) - build/meta-viewport /TITLE - | \
292+ $(INSAFTER ) - build/fixup-js /TITLE - | \
280293 $(INSAFTER ) - build/warning /H1 - | \
281294 $(INSAFTER ) - $* .subtoc /H1 - | \
282295 $(MKCHAIN ) -r $@ - | \
@@ -324,6 +337,12 @@ all: build/blocks.ok $(SPECOBJS) images/pngs.ok \
324337build/warning :
325338 echo " _THE_WARNING_" > $@
326339
340+ build/meta-viewport :
341+ echo ' <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">' > $@
342+
343+ build/fixup-js :
344+ echo ' <script type="text/javascript" src="//www.w3.org/scripts/TR/2016/fixup.js"></script>' > $@
345+
327346# images/links.ok : $(IMAGES)
328347# -@(cd images; for i in *.gif; do $(LN) -s $$i "`basename $$i .gif`" 2>//dev/null; done)
329348# touch images/links.ok
@@ -458,9 +477,11 @@ cover.srd: cover.src build/contents.srb build/minicontents.srb
458477 $(HIPP ) $(INCLUDES ) $< | \
459478 $(ADDCITE ) -r $(REFS ) $(REFSRCS ) > $@
460479
461- cover.html : cover.srd Project.cfg
480+ cover.html : cover.srd Project.cfg build/meta-viewport build/fixup-js
462481 @echo " =========== making" $@
463482 $(ADDNAVBAR ) -r $@ $< | \
483+ $(INSAFTER ) - build/meta-viewport /TITLE - | \
484+ $(INSAFTER ) - build/fixup-js /TITLE - | \
464485 $(MKCHAIN ) -r $@ - | \
465486 $(SED ) -e " s|_THIS_VERSION_|$( THIS_VERSION) |g" \
466487 -e " s|_THE_PREVIOUS_VERSION_|$( THE_PREVIOUS_VERSION) |g" \
@@ -495,9 +516,11 @@ indexlist.srd:: build/indexlist.srb #indexlist.src build/blocks.ok
495516# @echo "=========== making" $@
496517# $(CP) $< $@
497518
498- indexlist.html : indexlist.srd build/indexlist.srb Project.cfg build/warning
519+ indexlist.html : indexlist.srd build/indexlist.srb Project.cfg build/warning build/meta-viewport build/fixup-js
499520 @echo " =========== making" $@
500521 $(ADDNAVBAR ) -r $@ $< | \
522+ $(INSAFTER ) - build/meta-viewport /TITLE - | \
523+ $(INSAFTER ) - build/fixup-js /TITLE - | \
501524 $(INSAFTER ) - build/warning /H1 - | \
502525 $(MKCHAIN ) -r $@ - | \
503526 $(SED ) -e " s|_THIS_VERSION_|$( THIS_VERSION) |g" \
0 commit comments