You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-syntax/Overview.src.html
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@ <h2 id='syntax-description'>
120
120
for style rules, it's a selector which specifies what elements the declarations will apply to.
121
121
Each declaration has a name,
122
122
followed by a colon and the declaration value,
123
-
and finished with a semicolon.
123
+
and finishes with a semicolon.
124
124
125
125
<divclass='example'>
126
126
<p>
@@ -175,7 +175,7 @@ <h2 id='syntax-description'>
175
175
}</pre>
176
176
177
177
<p>
178
-
The ''@page'' <i>at-rule</i> consists of an optional page selector (the ":left" pseudoclass),
178
+
The ''@page'' <i>at-rule</i> consists of an optional page selector (the '':left'' pseudoclass),
179
179
followed by a block of properties that apply to the page when printed.
180
180
In this way, it's very similar to a normal <i>style rule</i>,
181
181
except that its properties don't apply to any "element",
@@ -194,7 +194,7 @@ <h2 id='syntax-description'>
194
194
</div>
195
195
196
196
<p>
197
-
Property names and <i>at-rule</i> names are always <b>idents</b>,
197
+
Property names and <i>at-rule</i> names are always <b>identifiers</b>,
198
198
which have to start with a letter or a hyphen followed by a letter,
199
199
and then can contain letters, numbers, hyphens, or underscores.
200
200
You can include any character at all,
@@ -240,10 +240,10 @@ <h3>
240
240
Once an at-rule starts,
241
241
nothing is invalid from the parser's standpoint;
242
242
it's all part of the at-rule's prelude.
243
-
Encountering a semicolon (;) ends the at-rule immediately,
244
-
while encountering an opening curly-brace ({) starts the at-rule's body.
243
+
Encountering a semicolon 〈;〉 ends the at-rule immediately,
244
+
while encountering an opening curly-brace 〈{〉 starts the at-rule's body.
245
245
The at-rule seeks forward, matching blocks (content surrounded by (), {}, or [])
246
-
until it finds a closing curly-brace (}) that isn't matched by anything else
246
+
until it finds a closing curly-brace 〈}〉 that isn't matched by anything else
247
247
or inside of another block.
248
248
The contents of the at-rule are then interpreted according to the at-rule's own grammar.
249
249
@@ -462,7 +462,7 @@ <h2>
462
462
〈ident〉, 〈function〉, 〈at-keyword〉, 〈hash〉, 〈string〉, and 〈url〉 tokens have a value composed of zero or more characters.
463
463
Additionally, hash tokens have a type flag set to either "id" or "unrestricted". The type flag defaults to "unrestricted" if not otherwise set.
464
464
〈delim〉 tokens have a value composed of a single character.
465
-
〈number〉, 〈percentage〉, and 〈dimension〉 tokens have a representation composed of 1 or more character, and a numeric value.
465
+
〈number〉, 〈percentage〉, and 〈dimension〉 tokens have a representation composed of one or more character, and a numeric value.
466
466
〈number〉 and 〈dimension〉 tokens additionally have a type flag set to either "integer" or "number". The type flag defaults to "integer" if not otherwise set.
467
467
〈dimension〉 tokens additionally have a unit composed of one or more characters.
468
468
〈unicode-range〉 tokens have a range of characters.
@@ -2100,7 +2100,7 @@ <h2>
2100
2100
<dd>
2101
2101
An at-rule has a name,
2102
2102
a prelude consisting of a list of component values,
2103
-
and an optional value consisting of an simple {} block.
2103
+
and an optional value consisting of a simple {} block.
2104
2104
2105
2105
<pclass='note'>
2106
2106
This specification places no limits on what an at-rule's value may contain.
@@ -2155,7 +2155,7 @@ <h2>
2155
2155
2156
2156
<dt><dfn>simple block</dfn>
2157
2157
<dd>
2158
-
A simple block has an associated token (either a 〈[〉, (, or 〈{〉)
2158
+
A simple block has an associated token (either a 〈[〉, 〈(〉, or 〈{〉)
2159
2159
and a value consisting of a list of component values.
0 commit comments