@@ -399,7 +399,7 @@ The input byte stream</h3>
399
399
400
400
Note: [[CSSOM]] defines <a href="https://drafts.csswg.org/cssom/#requirements-on-user-agents-implementing-the-xml-stylesheet-processing-instruction">the environment encoding for <code><xml-stylesheet?></code></a> .
401
401
402
- Note: [[CSS3CASCADE ]] defines <a href="https://drafts.csswg.org/css-cascade/#at-ruledef-import">the environment encoding for <code>@import</code></a> .
402
+ Note: [[CSS-CASCADE-3 ]] defines <a href="https://drafts.csswg.org/css-cascade/#at-ruledef-import">the environment encoding for <code>@import</code></a> .
403
403
404
404
405
405
<h3 id="input-preprocessing">
@@ -1975,7 +1975,8 @@ Parse something according to a CSS grammar</h4>
1975
1975
and if it does,
1976
1976
to destructure it according to the grammar.
1977
1977
This section provides a generic hook for this kind of operation.
1978
- It should be invoked like "parse <var> foo</var> as a CSS <<color>> ", or similar.
1978
+ It should be invoked like
1979
+ <span class="informative"> "parse <var> foo</var> as a CSS <<color>> "</span> , or similar.
1979
1980
1980
1981
Note: As a reminder, this algorithm, along with all the others in this section,
1981
1982
can be called with a string,
@@ -2783,7 +2784,7 @@ The <code><an+b></code> type</h3>
2783
2784
The Unicode-Range microsyntax</h2>
2784
2785
2785
2786
Some constructs,
2786
- such as the 'unicode-range' descriptor for the ''@font-face'' rule,
2787
+ <span class="informative"> such as the 'unicode-range' descriptor for the ''@font-face'' rule</span> ,
2787
2788
need a way to describe one or more unicode code points.
2788
2789
The <dfn><urange></dfn> production represents a range of one or more unicode code points.
2789
2790
@@ -3181,8 +3182,8 @@ Style rules</h3>
3181
3182
that associates a <a>selector list</a> [[!SELECT]]
3182
3183
with a list of property declarations.
3183
3184
They are also called
3184
- <a href="https://www.w3.org/TR/CSS21 /syndata.html#rule-sets">rule sets</a> in [[!CSS21 ]] .
3185
- CSS Cascading and Inheritance [[!CSS3CASCADE ]] defines how the declarations inside of style rules participate in the cascade.
3185
+ <a href="https://www.w3.org/TR/CSS2 /syndata.html#rule-sets">rule sets</a> in [[!CSS2 ]] .
3186
+ CSS Cascading and Inheritance [[!CSS-CASCADE-3 ]] defines how the declarations inside of style rules participate in the cascade.
3186
3187
3187
3188
The prelude of the qualified rule is [=CSS/parsed=]
3188
3189
as a <<selector-list>> .
@@ -3573,7 +3574,7 @@ Changes from CSS 2.1 and Selectors Level 3</h3>
3573
3574
but not in any way that should impact its use in practice.
3574
3575
3575
3576
<li>
3576
- Apply the <a href="https://www.w3.org/TR/CSS21 /syndata.html#unexpected-eof">EOF error handling rule</a> in the tokenizer
3577
+ Apply the <a href="https://www.w3.org/TR/CSS2 /syndata.html#unexpected-eof">EOF error handling rule</a> in the tokenizer
3577
3578
and emit normal <<string-token>> and <<url-token>> rather than BAD_STRING or BAD_URI
3578
3579
on EOF.
3579
3580
0 commit comments