Skip to content

Commit cef5589

Browse files
committed
[css-module][css3-transitions] Make case of 'Table of Contents' match what the pubrules checker wants.
1 parent be48c1a commit cef5589

File tree

5 files changed

+121
-60
lines changed

5 files changed

+121
-60
lines changed

css-module/Makefile

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Calling the post-processor with file-upload. Assumes the username
2+
# and password are in ~/.curl-w3.org (user = USER:PASS)
3+
#
4+
# To set a date other than today, use: make cdate=YYYYMMDD
5+
#
6+
# To set the status, modify one of the "this version" URLs:
7+
# http://www.w3.org/TR/[YEAR]/CR-[SHORTNAME]-[CDATE]/
8+
# Or set that URL to [VERSION] and call Make as: make status=CR
9+
#
10+
#
11+
# Possible other options to add to the curl command below:
12+
# -F ids=on
13+
14+
cdate = $(shell date +%Y%m%d)
15+
16+
%.html: %.src.html
17+
@echo "Calling post-processor to generate $@..."
18+
@curl -F file=@$< -F group=CSS -F output=html -F method=file -s \
19+
-F date=$(cdate) -F status=$(status) \
20+
-K ~/.curl-w3.org https://www.w3.org/Style/Group/process.cgi >$@
21+
%.err: %.src.html
22+
@echo "Calling post-processor to check $<..."
23+
@curl -F file=@$< -F group=CSS -F output=err -F method=file -s \
24+
-F date=$(cdate) -F status=$(status) \
25+
-K ~/.curl-w3.org https://www.w3.org/Style/Group/process.cgi >$@
26+
27+
28+
29+
all: check Overview.html
30+
@echo Done.
31+
32+
check: Overview.err
33+
@cat $<
34+
@grep -q '^No errors$$' $< # Force a non-zero exit code if errors
35+
36+
37+
38+
# A handy shortcut:
39+
40+
clean:
41+
-rm Overview.html
42+
43+
44+
45+
.PHONY: check clean

css-module/Overview.html

+73-57
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
11
<!DOCTYPE html>
22

33
<html lang=en>
4-
<head><meta content="text/html; charset=utf-8" http-equiv=Content-Type>
5-
4+
<head>
5+
<meta content="text/html; charset=utf-8" http-equiv=Content-Type>
66
<title>CSS TEMPLATE Module Level N (CSS3 TMPL)</title>
7+
<!--
8+
<link href="http://purl.org/dc/terms/" rel="schema.dcterms">
9+
<link href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright" rel="dcterms.rights">
10+
-->
11+
12+
<meta content="CSS TEMPLATE Module Level N (CSS3 TMPL)" name=dcterms.title>
13+
<meta content=text name=dcterms.type>
14+
<meta content=2013-02-08 name=dcterms.issued>
15+
<meta content="http://dev.w3.org/csswg/cssN-FIXME/" name=dcterms.creator>
16+
<meta content=W3C name=dcterms.publisher>
17+
<meta content="http://www.w3.org/TR/2013/ED-cssN-FIXME-20130208/"
18+
name=dcterms.identifier>
719
<link href="#contents" rel=contents>
820
<link href="#index" rel=index>
921
<link href="../default.css" rel=stylesheet type="text/css">
22+
<link href="../csslogo.ico" rel="shortcut icon" type="image/x-icon">
1023
<link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet
11-
type="text/css">
12-
24+
type="text/css">
1325
<style type="text/css">
1426
/* delete this block when you've cleared out all the .replaceme elements */
1527
.replaceme {
@@ -29,74 +41,79 @@
2941
}
3042
</style>
3143

32-
<body>
44+
<body class=h-entry>
3345
<div class=head> <!--begin-logo-->
3446
<p><a href="http://www.w3.org/"><img alt=W3C height=48
3547
src="http://www.w3.org/Icons/w3c_home" width=72></a> <!--end-logo-->
3648

37-
<h1>CSS <var class=replaceme>TEMPLATE</var> Module Level <var
49+
<h1 class=p-name>CSS <var class=replaceme>TEMPLATE</var> Module Level <var
3850
class=replaceme>N</var></h1>
3951

40-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 28 August 2012</h2>
52+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft <time
53+
class=dt-updated datetime=20130208>8 February 2013</time></h2>
4154

4255
<dl>
4356
<dt>This version:
4457

45-
<dd><a class=replaceme
46-
href="http://www.w3.org/TR/2012/ED-cssN-FIXME-20120828/">http://www.w3.org/TR/2012/ED-cssN-FIXME-20120828/</a>
47-
58+
<dd><a class="u-url replaceme"
59+
href="http://www.w3.org/TR/2013/ED-cssN-FIXME-20130208/">http://www.w3.org/TR/2013/ED-cssN-FIXME-20130208/</a>
4860

4961
<dt>Latest version:
5062

5163
<dd><a
5264
href="http://www.w3.org/TR/cssN-FIXME/">http://www.w3.org/TR/cssN-FIXME/</a>
53-
5465

5566
<dt>Editor's draft:
5667

5768
<dd><a
5869
href="http://dev.w3.org/csswg/cssN-FIXME/">http://dev.w3.org/csswg/cssN-FIXME/</a>
59-
6070

6171
<dt>Previous version:
6272

63-
<dd><a href="http://www.w3.org/PreviousVersionURI">
73+
<dd><a href="http://www.w3.org/PreviousVersionURI" rel=previous>
6474
http://www.w3.org/PreviousVersionURI</a>
6575

6676
<dt>Issue Tracking:
6777

68-
<dd><a
69-
href="http://www.w3.org/Style/CSS/Tracker/products/FIXME">http://www.w3.org/Style/CSS/Tracker/products/FIXME</a>
70-
78+
<dd><a href="http://www.w3.org/Style/CSS/Tracker/products/FIXME"
79+
rel=issues>http://www.w3.org/Style/CSS/Tracker/products/FIXME</a>
80+
<!-- or use the wiki:
81+
<dd><a rel="issues" href="http://wiki.csswg.org/spec/cssN-FIXME"
82+
>http://wiki.csswg.org/spec/cssN-FIXME</a></dd>
83+
-->
7184

7285
<dt>Feedback:
7386

7487
<dd><a
75-
href="http://lists.w3.org/Archives/Public/www-style/">www-style@w3.org</a>
88+
href="mailto:www-style@w3.org?subject=%5BcssN-FIXME%5D%20feedback">www-style@w3.org</a>
7689
with subject line “<kbd>[cssN-FIXME] <var>… message topic
77-
</var></kbd>
90+
</var></kbd>” (<a
91+
href="http://lists.w3.org/Archives/Public/www-style/"
92+
rel=discussion>archives</a>)
7893

7994
<dt>Editors:
8095

81-
<dd class="h-card vcard"> <a class="p-name fn u-url url"
82-
href="[editor1 personal URL (opt.)]" rel=author>[editor1 name]</a>,
83-
<span class="p-org org">[affiliation (opt.)]</span>, <span
84-
class="u-email email">[email address (opt.)]</span>
96+
<dd class="p-author h-card vcard"> <a class="p-name fn u-url url"
97+
href="[editor1 personal URL (opt.)]" rel=author>[editor1 name]</a>, <a
98+
class="p-org org h-org"
99+
href="[affiliation/co. home page (opt.)]">[affiliation (opt.)]</a>,
100+
<span class="u-email email">[email address (opt.)]</span>
85101

86-
<dd class="h-card vcard"> <span class="p-name fn">[editor2 name]</span>,
87-
<span class="p-org org">[affiliation (opt.)]</span>, <span
102+
<dd class="p-author h-card vcard"> <span class="p-name fn">[editor2
103+
name]</span>, <span class="p-org org">[affiliation (opt.)]</span>, <span
88104
class="u-email email">[email address (opt.)]</span>
89105
</dl>
90106
<!--begin-copyright-->
91107
<p class=copyright><a
92108
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
93-
rel=license>Copyright</a> © 2012 <a href="http://www.w3.org/"><abbr
109+
rel=license>Copyright</a> © 2013 <a href="http://www.w3.org/"><abbr
94110
title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a
95111
href="http://www.csail.mit.edu/"><abbr
96112
title="Massachusetts Institute of Technology">MIT</abbr></a>, <a
97113
href="http://www.ercim.eu/"><abbr
98114
title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>,
99-
<a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
115+
<a href="http://www.keio.ac.jp/">Keio</a>, <a
116+
href="http://ev.buaa.edu.cn/">Beihang</a>), All Rights Reserved. W3C <a
100117
href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
101118
<a
102119
href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>
@@ -109,8 +126,8 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 28 August 2012</h2>
109126

110127
<h2 class="no-num no-toc" id=abstract>Abstract</h2>
111128

112-
<p>This module contains the features of CSS relating to <var
113-
class=replaceme>DESCRIBE HERE</var>. <a
129+
<p> <span class=p-summary> This module contains the features of CSS
130+
relating to <var class=replaceme>DESCRIBE HERE</var>. </span> <a
114131
href="http://www.w3.org/TR/CSS/">CSS</a> is a language for describing the
115132
rendering of structured documents (such as HTML and XML) on screen, on
116133
paper, in speech, etc.
@@ -151,7 +168,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
151168

152169
<p>The following features are at risk: …
153170

154-
<h2 class="no-num no-toc" id=contents> Table of contents</h2>
171+
<h2 class="no-num no-toc" id=contents> Table of Contents</h2>
155172
<!--begin-toc-->
156173

157174
<ul class=toc>
@@ -235,7 +252,6 @@ <h3 id=placement><span class=secno>1.1. </span> Module interactions</h3>
235252
http://dev.w3.org/csswg/css3-background/#placement
236253
(All properties apply to ::first-letter; some apply to ::first-line)
237254
-->
238-
239255

240256
<h3 id=values><span class=secno>1.2. </span> Values</h3>
241257

@@ -296,9 +312,9 @@ <h2 id=sample-topic><span class=secno>2. </span> Sample section</h2>
296312
a DIV:
297313

298314
<div class=note>
299-
<p>Note that this note is a multi-paragraph note.</p>
315+
<p>Note that this note is a multi-paragraph note.
300316

301-
<p>It doesn't <em>need</em> to have two paragraphs, but it could.</p>
317+
<p>It doesn't <em>need</em> to have two paragraphs, but it could.
302318
</div>
303319

304320
<p>Displayed examples come in eight different types: CSS examples that need
@@ -310,7 +326,7 @@ <h2 id=sample-topic><span class=secno>2. </span> Sample section</h2>
310326

311327
<div class=example>
312328
<p>The following example is the same as the previous one, but now it is
313-
explained:</p>
329+
explained:
314330

315331
<pre>EM { font-style: italic }</pre>
316332
</div>
@@ -430,7 +446,7 @@ <h3 id=conventions><span class=secno>3.1. </span> Document conventions</h3>
430446
<code>class="example"</code>, like this:
431447

432448
<div class=example>
433-
<p>This is an example of an informative example.</p>
449+
<p>This is an example of an informative example.
434450
</div>
435451

436452
<p>Informative notes begin with the word “Note” and are set apart from
@@ -601,11 +617,11 @@ <h3 class=no-num id=normative-references> Normative references</h3>
601617
<dt id=CSS21>[CSS21]
602618

603619
<dd>Bert Bos; et al. <a
604-
href="http://www.w3.org/TR/2011/REC-CSS2-20110607"><cite>Cascading Style
620+
href="http://www.w3.org/TR/2011/REC-CSS2-20110607/"><cite>Cascading Style
605621
Sheets Level 2 Revision 1 (CSS 2.1) Specification.</cite></a> 7 June
606622
2011. W3C Recommendation. URL: <a
607-
href="http://www.w3.org/TR/2011/REC-CSS2-20110607">http://www.w3.org/TR/2011/REC-CSS2-20110607</a>
608-
</dd>
623+
href="http://www.w3.org/TR/2011/REC-CSS2-20110607/">http://www.w3.org/TR/2011/REC-CSS2-20110607/</a>
624+
</dd>
609625
<!---->
610626

611627
<dt id=CSS3SYN>[CSS3SYN]
@@ -615,7 +631,7 @@ <h3 class=no-num id=normative-references> Normative references</h3>
615631
module: Syntax.</cite></a> 13 August 2003. W3C Working Draft. (Work in
616632
progress.) URL: <a
617633
href="http://www.w3.org/TR/2003/WD-css3-syntax-20030813">http://www.w3.org/TR/2003/WD-css3-syntax-20030813</a>
618-
</dd>
634+
</dd>
619635
<!---->
620636

621637
<dt id=RFC2119>[RFC2119]
@@ -624,7 +640,7 @@ <h3 class=no-num id=normative-references> Normative references</h3>
624640
words for use in RFCs to Indicate Requirement Levels.</cite></a> Internet
625641
RFC 2119. URL: <a
626642
href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a>
627-
</dd>
643+
</dd>
628644
<!---->
629645
</dl>
630646
<!--end-normative-->
@@ -643,7 +659,7 @@ <h3 class=no-num id=other-references> Other references</h3>
643659
href="http://www.w3.org/TR/2011/REC-css3-color-20110607"><cite>CSS Color
644660
Module Level 3.</cite></a> 7 June 2011. W3C Recommendation. URL: <a
645661
href="http://www.w3.org/TR/2011/REC-css3-color-20110607">http://www.w3.org/TR/2011/REC-css3-color-20110607</a>
646-
</dd>
662+
</dd>
647663
<!---->
648664

649665
<dt id=HTML40>[HTML40]
@@ -652,7 +668,7 @@ <h3 class=no-num id=other-references> Other references</h3>
652668
href="http://www.w3.org/TR/1998/REC-html40-19980424"><cite>HTML 4.0
653669
Specification.</cite></a> 24 April 1998. W3C Recommendation. URL: <a
654670
href="http://www.w3.org/TR/1998/REC-html40-19980424">http://www.w3.org/TR/1998/REC-html40-19980424</a>
655-
</dd>
671+
</dd>
656672
<!---->
657673
</dl>
658674
<!--end-informative-->
@@ -662,49 +678,49 @@ <h2 class=no-num id=index> Index</h2>
662678

663679
<ul class=indexlist>
664680
<li>authoring tool, <a href="#authoring-tool"
665-
title="authoring tool"><strong>3.2.</strong></a>
681+
title="section 3.2."><strong>3.2.</strong></a>
666682

667683
<li>Cross-references, <a href="#cross-references"
668-
title=Cross-references><strong>2.1.</strong></a>
684+
title="section 2.1."><strong>2.1.</strong></a>
669685

670686
<li>display-inside, <a href="#display-inside"
671-
title=display-inside><strong>2.1.</strong></a>
687+
title="section 2.1."><strong>2.1.</strong></a>
672688

673689
<li>frequency
674690
<ul>
675-
<li>common, <a href="#common" title="frequency, common">2.</a>
691+
<li>common, <a href="#common" title="section 2.">2.</a>
676692
</ul>
677693

678-
<li>index, <a href="#index0" title=index><strong>2.</strong></a>
694+
<li>index, <a href="#index0" title="section 2."><strong>2.</strong></a>
679695

680-
<li>renderer, <a href="#renderer" title=renderer><strong>3.2.</strong></a>
681-
696+
<li>renderer, <a href="#renderer"
697+
title="section 3.2."><strong>3.2.</strong></a>
682698

683699
<li>resource
684700
<ul>
685-
<li>time spent, <a href="#work" title="resource, time spent">2.</a>
701+
<li>time spent, <a href="#work" title="section 2.">2.</a>
686702
</ul>
687703

688-
<li>simple, <a href="#simplest" title=simple>2.</a>
704+
<li>simple, <a href="#simplest" title="section 2.">2.</a>
689705

690-
<li>simpler, <a href="#simplest" title=simpler>2.</a>
706+
<li>simpler, <a href="#simplest" title="section 2.">2.</a>
691707

692-
<li>simplest, <a href="#simplest" title=simplest>2.</a>
708+
<li>simplest, <a href="#simplest" title="section 2.">2.</a>
693709

694710
<li>style sheet
695711
<ul>
696712
<li>as conformance class, <a href="#style-sheet"
697-
title="style sheet, as conformance class"><strong>3.2.</strong></a>
713+
title="section 3.2."><strong>3.2.</strong></a>
698714
</ul>
699715

700-
<li>terms, <a href="#terms" title=terms>2.</a>
716+
<li>terms, <a href="#terms" title="section 2.">2.</a>
701717

702718
<li><a href="#value-name"><code class=css>value-name</code></a>’, <a
703-
href="#value-name" title="''value-name''"><strong>2.1.</strong></a>
719+
href="#value-name" title="section 2.1."><strong>2.1.</strong></a>
704720

705-
<li>variant, <a href="#variants" title=variant>2.</a>
721+
<li>variant, <a href="#variants" title="section 2.">2.</a>
706722

707-
<li>work, <a href="#work" title=work>2.</a>
723+
<li>work, <a href="#work" title="section 2.">2.</a>
708724
</ul>
709725
<!--end-index-->
710726

css-module/Overview.src.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h2 class="no-num no-toc" id="status">Status of this document</h2>
101101
<p>The following features are at risk: &hellip;
102102

103103
<h2 class="no-num no-toc" id="contents">
104-
Table of contents</h2>
104+
Table of Contents</h2>
105105

106106
<!--toc-->
107107

css3-transitions/Overview.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
157157
<p> The <a href=ChangeLog>list of changes made to this specification</a> is
158158
available.
159159

160-
<h2 class="no-num no-toc" id=contents>Table of contents</h2>
160+
<h2 class="no-num no-toc" id=contents>Table of Contents</h2>
161161
<!--begin-toc-->
162162

163163
<ul class=toc>

css3-transitions/Overview.src.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2 class="no-num no-toc" id="status">Status of this document</h2>
7979
available.
8080
</p>
8181

82-
<h2 class="no-num no-toc" id="contents">Table of contents</h2>
82+
<h2 class="no-num no-toc" id="contents">Table of Contents</h2>
8383
<!--toc-->
8484

8585

0 commit comments

Comments
 (0)