forked from w3c/csswg-drafts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsyndata.src
224 lines (132 loc) · 5.68 KB
/
syndata.src
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
<title>Syntax and basic data types</title>
<!--script src="http://www.w3c-test.org/css/harness/annotate.js#CSS21_DEV" type="text/javascript" defer></script-->
</head>
<body>
<h1>Syntax and basic data types</h1>
<h2><a name="syntax">Syntax</a></h2>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h3><a name="tokenization">Tokenization</a></h3>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h3><a name="keywords">Keywords</a></h3>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h4><a name="vendor-keywords">Vendor-specific extensions</a></h4>
<p>This section is informative.</p>
<p>This section has been replaced by Section 3 ("Requirements for
Responsible Implementation of CSS") in <cite>CSS Snapshot 2015</cite>
[[-CSS]].
<h4><a name="vendor-keyword-history">Informative Historical Notes</a></h4>
<p>This section is informative.</p>
<p>This section has been replaced by Section 3 ("Requirements for
Responsible Implementation of CSS") in <cite>CSS Snapshot 2015</cite>
[[-CSS]].
<h3><a name="characters">Characters and case</a></h3>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h3><a name="statements">Statements</a></h3>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h3><span class="index-def" title="at-rule">
<a name="at-rules">At-rules</a></span></h3>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h3><a name="block">Blocks</a></h3>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h3><a name="rule-sets">Rule sets, declaration blocks, and selectors</a></h3>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h3><a name="declaration">Declarations</a> and <a
name="properties">properties</a></h3>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h3><a name="comments">Comments</a></h3>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h2><a name="parsing-errors">Rules for handling parsing
errors</a></h2>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h2><a name="values">Values</a></h2>
<h3><a name="numbers">Integers and real numbers</a></h3>
<p>This section has been replaced by <cite>CSS Values and Units Module
Level 3</cite> [[CSS3VAL]].
<h3><a name="length-units">Lengths</a></h3>
<p>This section has been replaced by <cite>CSS Values and Units Module
Level 3</cite> [[CSS3VAL]].
<h3><a name="uri">URLs and URIs</a></h3>
<p>This section has been replaced by <cite>CSS Values and Units Module
Level 3</cite> [[CSS3VAL]].
<h3><a name="counter">Counters</a></h3>
<p><span class="index-def" title="<counter>, definition of"><a
name="value-def-counter">Counters</a></span> are denoted by
case-sensitive identifiers (see the <span
class="propinst-counter-increment">'counter-increment'</span> and
<span class="propinst-counter-reset">'counter-reset'</span>
properties). To refer to the value of a counter, the notation
<span class="index-def" title="counter()">
'counter(<identifier>)'</span> or 'counter(<identifier>,
<'list-style-type'>)', with optional white space separating the tokens,
is used. The default style is 'decimal'.
</p>
<p>To refer to a sequence of nested counters of the same name, the
notation is 'counters(<identifier>, <string>)' or
'counters(<identifier>, <string>, <'list-style-type'>)'
with optional white space separating the tokens.
</p>
<p>See <a href="generate.html#scope">"Nested counters and scope"</a>
in the chapter on <a href="generate.html">generated content</a> for
how user agents must determine the value or values of the counter. See
the definition of counter values of the <span
class="propinst-content">'content'</span> property for how it must
convert these values to a string.
</p>
<p>In CSS 2.2, the values of counters can
only be referred to from the <span
class="propinst-content">'content'</span> property. Note that 'none'
is a possible <'list-style-type'>: 'counter(x,
none)' yields an empty string.
</p>
<div class="example">
<p>Here is a style sheet that numbers paragraphs (p) for each chapter
(h1). The paragraphs are numbered with roman numerals, followed by a
period and a space:
</p>
<pre>
p {counter-increment: par-num}
h1 {counter-reset: par-num}
p:before {content: counter(par-num, upper-roman) ". "}
</pre>
</div>
<h3><a name="color-units">Colors</a></h3>
<p>This section has been replaced by <cite>CSS Color Module
Level 3</cite> [[CSS3COLOR]].
<h3><a name="strings">Strings</a></h3>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h3><a name="unsupported-values">Unsupported Values</a></h3>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h2><a name="charset">CSS style sheet representation</a></h2>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
<h3><a name="escaping">Referring to characters not represented in a character encoding</a></h3>
<p>This section has been replaced by <cite>CSS Syntax Module
Level 3</cite> [[CSS3SYN]].
</body>
</html>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-declaration:"~/SGML/HTML4.decl"
sgml-default-doctype-name:"html"
sgml-minimize-attributes:t
sgml-nofill-elements:("pre" "style" "br")
sgml-live-element-indicator:t
End:
-->