Skip to content

Commit 858a38e

Browse files
committed
[css2] Generated. Do not edit!
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402350
1 parent 9cc6701 commit 858a38e

19 files changed

Lines changed: 138 additions & 89 deletions

css2/about.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<!doctype html public '-//W3C//DTD HTML 4.01//EN'
2-
'http://www.w3.org/TR/html4/strict.dtd'>
1+
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'>
32

43
<html lang="en">
54

@@ -79,7 +78,7 @@ <h2><a name="q1">1.1 CSS&nbsp;2.1 vs CSS&nbsp;2</a></h2>
7978
generally accepted practice.
8079

8180
<li>Removing CSS2 features which, by virtue of not having been
82-
implemented, have been rejected by the CSS community. CSS2.1 aims to
81+
implemented, have been rejected by the CSS community. CSS&nbsp;2.1 aims to
8382
reflect what CSS features are reasonably widely implemented for HTML
8483
and XML languages in general (rather than <em>only</em> for a
8584
particular XML language, or <em>only</em> for HTML).
@@ -92,9 +91,9 @@ <h2><a name="q1">1.1 CSS&nbsp;2.1 vs CSS&nbsp;2</a></h2>
9291
they are needed for implementing CSS2.
9392
</ul>
9493

95-
<p>Thus, while it is not the case that a CSS2 stylesheet is
94+
<p>Thus, while it is not the case that a CSS2 style sheet is
9695
necessarily forwards-compatible with CSS&nbsp;2.1, it is the case that a
97-
stylesheet restricting itself to CSS&nbsp;2.1 features is more likely to
96+
style sheet restricting itself to CSS&nbsp;2.1 features is more likely to
9897
find a compliant user agent today and to preserve forwards
9998
compatibility in the future. While breaking forward compatibility is
10099
not desirable, we believe the advantages to the revisions in CSS&nbsp;2.1
@@ -138,10 +137,10 @@ <h2><a name="q3">1.3 How the specification is organized</a></h2>
138137

139138
<dl>
140139

141-
<dt><Strong>Section 2: An introduction to CSS2.1</strong>
140+
<dt><Strong>Section 2: An introduction to CSS&nbsp;2.1</strong>
142141

143-
<dd>The introduction includes a brief tutorial on CSS2.1 and
144-
a discussion of design principles behind CSS2.1.
142+
<dd>The introduction includes a brief tutorial on CSS&nbsp;2.1 and
143+
a discussion of design principles behind CSS&nbsp;2.1.
145144

146145
<dt><strong>Sections 3 - 20: CSS&nbsp;2.1 reference manual.</strong>
147146

@@ -439,7 +438,7 @@ <H2><a name="q17">1.5 Acknowledgments</a></H2>
439438

440439
<p>In addition, we would like to extend special thanks to fantasai,
441440
Ada Chan, and Boris Zbarsky, who have contributed significant
442-
time to CSS2.1, and to Kimberly Blessing, for help with the
441+
time to CSS&nbsp;2.1, and to Kimberly Blessing, for help with the
443442
editing.</p>
444443

445444

css2/aural.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<!doctype html public '-//W3C//DTD HTML 4.01//EN'
2-
'http://www.w3.org/TR/html4/strict.dtd'>
1+
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'>
32

43
<html lang="en">
54

css2/box.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<!doctype html public '-//W3C//DTD HTML 4.01//EN'
2-
'http://www.w3.org/TR/html4/strict.dtd'>
1+
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'>
32

43
<html lang="en">
54

css2/cascade.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ <H3><a name="q13">6.4.4 Precedence of non-CSS presentational hints</a></H3>
482482

483483
<div class="example"><P style="display:none">Example(s):</P>
484484

485-
<p>The following user stylesheet would override the font weight of
485+
<p>The following user style sheet would override the font weight of
486486
'b' elements in all documents, and the color of 'font'
487487
elements with color attributes in XML documents. It would not affect
488488
the color of any 'font' elements with color attributes in HTML

css2/changes.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ <H1><a name="q0">Appendix C. Changes</a></H1>
135135
</div>
136136
<P><em>This appendix is informative, not normative.</em></P>
137137

138-
<P>CSS&nbsp;2.1 is an updated version of CSS2. The changes between the
138+
<P>CSS&nbsp;2.1 is an updated revision of CSS2. The changes between the
139139
CSS2 specification (see <a href="refs.html#ref-CSS2" rel="biblioentry" class="noxref"><span class="normref">[CSS2]</span></a>) and this specification fall into
140140
five groups: known errors, typographical errors, clarifications,
141141
changes and additions. Typographical errors are not listed here.</P>
@@ -673,7 +673,7 @@ <h3 id="underscore2"><a name="q59">C.3.33 </a><a href="grammar.html#q2">Appendix
673673
<h2>C.4 <a name="clarifications">Clarifications</a></h2>
674674

675675
<h3 id="s-2-2"><a name="q61">C.4.1 </a><a
676-
href="http://www.w3.org/TR/REC-CSS2/intro.html#q2">2.2 A brief CSS2
676+
href="intro.html#q2">2.2 A brief CSS2
677677
tutorial for XML</a></h3>
678678

679679
<p>The specification for the <a

css2/conform.html

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ <H2><a name="q1">3.1 Definitions</a></H2>
5858
recommend ...", "This specification recommends ...", or some similar
5959
wording.</P>
6060

61-
<P>The fact that a feature is marked as deprecated (such as the <a
61+
<P>The fact that a feature is marked as deprecated (namely the <a
6262
href="aural.html#aural-media-group">'aural'</a> keyword) or going to
63-
be deprecated in CSS3 (such as the <a
63+
be deprecated in CSS3 (namely the <a
6464
href="ui.html#system-colors">system colors</a>) also has no influence
6565
on conformance. (For example, 'aural' is marked as non-normative, so
6666
UAs do not need to support it; the system colors are normative, so UAs
@@ -189,7 +189,19 @@ <H2><a name="q1">3.1 Definitions</a></H2>
189189

190190
<dt><strong><a name="x22"><span class="index-def" title="ignore">Ignore</span></a></strong>
191191

192-
<dd>This term has two slightly different meanings this specification. First, a CSS parser must follow certain rules when it discovers unknown or illegal syntax in a style sheet. The parser must then ignore certain parts of the style sheets. The exact rules for what parts must be ignored is given in these section: <a href="syndata.html#declaration">Declarations and properties</a>, <a href="syndata.html#parsing-errors">Rules for handling parsing errors</a>, <a href="syndata.html#unsupportedvalues">Unsupported Values</a>, or may be explained in the text where the term "ignore" appears. Second, a user agent may (and, in some cases must) disregard certain properties or values in the style sheet even if the syntax is legal. For example, table-column-group elements cannot have borders around them, so the border properties must be ignored.
192+
<dd>This term has two slightly different meanings in this
193+
specification. First, a CSS parser must follow certain rules when it
194+
discovers unknown or illegal syntax in a style sheet. The parser must
195+
then ignore certain parts of the style sheets. The exact rules for
196+
what parts must be ignored is given in these section: <a
197+
href="syndata.html#declaration">Declarations and properties</a>, <a
198+
href="syndata.html#parsing-errors">Rules for handling parsing
199+
errors</a>, <a href="syndata.html#unsupportedvalues">Unsupported
200+
Values</a>, or may be explained in the text where the term "ignore"
201+
appears. Second, a user agent may (and, in some cases must) disregard
202+
certain properties or values in the style sheet even if the syntax is
203+
legal. For example, table-column elements can't affect the font of the
204+
column, so the font properties must be ignored.
193205

194206

195207
<dt><strong><span class="index-def" title="rendered
@@ -400,7 +412,7 @@ <h2>3.2 <a name="conformance">Conformance</a></h2>
400412
may offer other means to specify user preferences, for example through
401413
a GUI.
402414

403-
<p>CSS2.1 does not define which properties apply to form controls and
415+
<p>CSS&nbsp;2.1 does not define which properties apply to form controls and
404416
frames, or how CSS can be used to style them. User agents may apply CSS
405417
properties to these elements. Authors are recommended to treat such
406418
support as experimental. A future level of CSS may specify this further.

css2/cover.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2-
"http://www.w3.org/TR/html4/strict.dtd">
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
32

43
<html lang="en">
54

@@ -224,7 +223,7 @@ <h3 id=at-risk>Features at risk</h3>
224223
of being removed from CSS&nbsp;2.1 when exiting CR. (Any changes of this
225224
nature will still result in the specification being returned to last
226225
call.) Implementors are urged to implement these features, or correct
227-
bugs in their implementations, if they wish to see thsse features remain
226+
bugs in their implementations, if they wish to see these features remain
228227
in this specification.</p>
229228
<dl>
230229
<dt>New 'list-style-type' values</dt>
@@ -243,7 +242,7 @@ <h3 id=at-risk>Features at risk</h3>
243242
per element soon, this feature may be made informative. The W3C
244243
Selectors specification will continue to have this feature
245244
normatively. (<a href="selector.html#id-selectors">Section
246-
5.8.4.</a>)
245+
5.9.</a>)
247246
</dd>
248247
<dt>Automatic table layout algorithm
249248
<dd>

css2/generate.html

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,25 +154,25 @@ <h2>12.1 <a name="before-after-content">The</a> <a name="x2"><span class="index-
154154
inside their associated element.</p>
155155

156156
<div class="example"><P style="display:none">Example(s):</P>
157-
<p>For example, the following document fragment and stylesheet:</p>
157+
<p>For example, the following document fragment and style sheet:</p>
158158
<pre>
159159
&lt;h2> Header &lt;/h2> h2 { display: run-in; }
160160
&lt;p> Text &lt;/p> p:before { display: block; content: 'Some'; }
161161
</pre>
162162
<p>...would render in exactly the same way as the following document
163-
fragment and stylesheet:</p>
163+
fragment and style sheet:</p>
164164
<pre>
165165
&lt;h2> Header &lt;/h2> h2 { display: run-in; }
166166
&lt;p>&lt;span>Some&lt;/span> Text &lt;/p> span { display: block }
167167
</pre>
168-
<p>Similarly, the following document fragment and stylesheet:</p>
168+
<p>Similarly, the following document fragment and style sheet:</p>
169169
<pre>
170170
&lt;h2> Header &lt;/h2> h2 { display: run-in; }
171171
h2:after { display: block; content: 'Thing'; }
172172
&lt;p> Text &lt;/p>
173173
</pre>
174174
<p>...would render in exactly the same way as the following document
175-
fragment and stylesheet:</p>
175+
fragment and style sheet:</p>
176176
<pre>
177177
&lt;h2> Header &lt;span>Thing&lt;/span>&lt;/h2> h2 { display: block; }
178178
span { display: block; }
@@ -194,7 +194,10 @@ <h2>12.2 <a name="content">The</a> <a href="generate.html#propdef-content" class
194194
<tr valign=baseline><td><em>Inherited:</em>&nbsp;&nbsp;<td>no
195195
<tr valign=baseline><td><em>Percentages:</em>&nbsp;&nbsp;<td>N/A
196196
<tr valign=baseline><td><em>Media:</em>&nbsp;&nbsp;<td><a href="media.html#all-media-group" class="noxref">all</a>
197-
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>for URI values, the absolute URI; for attr() values, the resulting string; otherwise as specified
197+
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>On elements, always computes to 'normal'. On :before and :after, if
198+
'normal' is specified, computes to 'none'. Otherwise, for URI
199+
values, the absolute URI; for attr() values, the resulting string;
200+
for other keywords, as specified.
198201
</table>
199202
</dl>
200203
</div>
@@ -502,7 +505,7 @@ <H3>12.3.2 <a name="quotes-insert">Inserting quotes</a> with the <a href="genera
502505
<h2>12.4 Automatic <span class="index-def" title="counters"><a
503506
name="counters">counters</a></span> and numbering</h2>
504507

505-
<p>Automatic numbering in CSS2.1 is controlled with two properties,
508+
<p>Automatic numbering in CSS&nbsp;2.1 is controlled with two properties,
506509
<a href="generate.html#propdef-counter-increment" class="noxref"><span class="propinst-counter-increment">'counter-increment'</span></a>
507510
and <a href="generate.html#propdef-counter-reset" class="noxref"><span class="propinst-counter-reset">'counter-reset'</span></a>. The
508511
counters defined by these properties are used with the counter() and
@@ -560,6 +563,9 @@ <h2>12.4 Automatic <span class="index-def" title="counters"><a
560563
"Chapter 1", "1.1", "1.2", etc.
561564

562565
<pre>
566+
BODY {
567+
counter-reset: chapter; /* Create a chapter counter scope */
568+
}
563569
H1:before {
564570
content: "Chapter " counter(chapter) ". ";
565571
counter-increment: chapter; /* Add 1 to chapter */
@@ -756,6 +762,20 @@ <h3><a name="q9">12.4.3 Counters in elements with 'display: none'</a></h3>
756762
</pre>
757763
</div>
758764

765+
<p>Pseudo-elements that are not generated also cannot increment or
766+
reset a counter.
767+
768+
<div class="example"><P style="display:none">Example(s):</P>
769+
<p>For example, the following does not increment 'heading':
770+
771+
<pre>
772+
h1::before {
773+
content: normal;
774+
counter-increment: heading;
775+
}
776+
</pre>
777+
</div>
778+
759779
<p>Elements with <a href="visufx.html#propdef-visibility" class="noxref"><span class="propinst-visibility">'visibility'</span></a>
760780
set to 'hidden', on the other hand, <em>do</em> increment counters.
761781

css2/indexlist.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ <H1><a name="q0">Appendix I. Index</a></H1>
233233
<li class="tocline0">decimal, <a href="generate.html#value-def-decimal" class="index-def"><strong>1</strong></a>
234234
<li class="tocline0">decimal-leading-zero, <a href="generate.html#value-def-decimal-leading-zero" class="index-def"><strong>1</strong></a>
235235
<li class="tocline0">declaration, <a href="syndata.html#x19" class="index-def"><strong>1</strong></a>
236-
<li class="tocline0">declaration-block, <a href="syndata.html#x14" class="index-def"><strong>1</strong></a>
236+
<li class="tocline0">declaration block, <a href="syndata.html#x14" class="index-def"><strong>1</strong></a>
237237
<li class="tocline0">default style sheet, <a href="cascade.html#default-style-sheet" class="index-def"><strong>1</strong></a>
238238
<li class="tocline0">default
239239
<ul class="index">

css2/media.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ <H2>7.3 <a name="media-types">Recognized media types</a></H2>
201201

202202
<div class="note"><P>
203203
<em><strong>Note.</strong>
204-
Future versions of CSS may extend the list of media types. Authors
204+
Future updates of CSS may extend the list of media types. Authors
205205
should not rely on media type names that are not yet defined
206206
by a CSS specification.
207207
</em>

0 commit comments

Comments
 (0)