@@ -27,8 +27,6 @@ spec:css-values-3; type: value; text:ex
27
27
spec:css-conditional-3; type:at-rule; text:@media
28
28
spec:mediaqueries-4; type:type; for:@media; text:all
29
29
spec:mediaqueries-4; type:type; text:<media-query>
30
- spec:css2; type:property; text:display
31
- spec:css2; type:value; text:red
32
30
</pre>
33
31
34
32
<pre class=ignored-specs>
@@ -122,7 +120,7 @@ Importing Style Sheets: the ''@import'' rule</h2>
122
120
as if they were written literally into the stylesheet at the point of the ''@import'' .
123
121
124
122
Any ''@import'' rules must precede all other valid at-rules and style rules in a style sheet
125
- (ignoring ''@charset'' and empty [= @layer=] definitions), or else the ''@import'' rule is invalid.
123
+ (ignoring ''@charset'' and empty '' @layer'' definitions), or else the ''@import'' rule is invalid.
126
124
The syntax of ''@import'' is:
127
125
128
126
<pre class='prod'>
@@ -900,7 +898,7 @@ Cascade Sorting Order</h3>
900
898
<dt id='cascade-context'> Context
901
899
<dd>
902
900
A document language can provide for blending declarations sourced
903
- from different <dfn>encapsulation contexts</dfn> ,
901
+ from different <dfn local-lt="context" >encapsulation contexts</dfn> ,
904
902
such as the nested [=tree contexts=] of [=shadow trees=] in the [[!DOM]] .
905
903
906
904
When comparing two declarations
@@ -1052,8 +1050,8 @@ Important Declarations: the ''!important'' annotation</h3>
1052
1050
To balance this, a declaration can be marked [=important=] ,
1053
1051
which increases its weight in the cascade and inverts the order of precedence.
1054
1052
1055
- A declaration is <dfn export>important</dfn> if it has a ''!important'' annotation
1056
- as defined by [[css-syntax-3]] ,
1053
+ A declaration is <dfn export local-lt="importance" >important</dfn>
1054
+ if it has a ''!important'' annotation as defined by [[css-syntax-3]] ,
1057
1055
i.e. if the last two (non-whitespace, non-comment) tokens
1058
1056
in its value are the delimiter token ''!'' followed by the identifier token ''important'' .
1059
1057
All other declarations are <dfn>normal</dfn> (non-[=important=] ).
@@ -1175,7 +1173,7 @@ Declaring Cascade Layers: the ''@layer'' rule</h4>
1175
1173
</pre>
1176
1174
1177
1175
Such ''@layer'' block rules have the same restrictions and processing
1178
- as a [=conditional rule=] [[CSS-CONDITIONAL-3]]
1176
+ as a [=conditional group rule=] [[CSS-CONDITIONAL-3]]
1179
1177
with a true condition.
1180
1178
1181
1179
The optional <dfn for='@layer'><<layer-ident>></dfn>
@@ -1537,7 +1535,7 @@ Rolling Back Cascade Origins: the ''revert'' keyword</h4>
1537
1535
For the purpose of ''revert'' , this origin includes the Animation <a>origin</a> .
1538
1536
</dl>
1539
1537
1540
- <h4 id="default ">
1538
+ <h4 id="revert-layer ">
1541
1539
Rolling Back Cascade Layers: the ''revert-layer'' keyword</h4>
1542
1540
1543
1541
If the <a>cascaded value</a> of a property is the <dfn for=all>''revert-layer''</dfn> keyword,
@@ -1550,7 +1548,7 @@ Rolling Back Cascade Layers: the ''revert-layer'' keyword</h4>
1550
1548
Note: If there are no lower-priority declarations
1551
1549
in the same [=cascade origin=] as the ''revert-layer'' value,
1552
1550
the <a>cascaded value</a> will roll back to the previous origin,
1553
- just as for the [= revert=] keyword.
1551
+ just as for the '' revert'' keyword.
1554
1552
1555
1553
1556
1554
<!--
@@ -1572,7 +1570,7 @@ Additions Since Level 4</h3>
1572
1570
The following features have been added since
1573
1571
<a href="https://www.w3.org/TR/css-cascade-4/">Level 4</a> :
1574
1572
1575
- * Added ''layer()'' option to [= @import=] definition.
1573
+ * Added ''layer()'' option to '' @import'' definition.
1576
1574
* Added [=cascade layers=] to the [=cascade=] sort criteria.
1577
1575
* Defined style attributes as a distinct step of the [=cascade=] sort criteria.
1578
1576
* Introduced the ''@layer'' rule for defining cascade layers.
0 commit comments