@@ -27,8 +27,6 @@ spec:css-values-3; type: value; text:ex
2727spec:css-conditional-3; type:at-rule; text:@media
2828spec:mediaqueries-4; type:type; for:@media; text:all
2929spec:mediaqueries-4; type:type; text:<media-query>
30- spec:css2; type:property; text:display
31- spec:css2; type:value; text:red
3230</pre>
3331
3432<pre class=ignored-specs>
@@ -122,7 +120,7 @@ Importing Style Sheets: the ''@import'' rule</h2>
122120 as if they were written literally into the stylesheet at the point of the ''@import'' .
123121
124122 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.
126124 The syntax of ''@import'' is:
127125
128126 <pre class='prod'>
@@ -900,7 +898,7 @@ Cascade Sorting Order</h3>
900898 <dt id='cascade-context'> Context
901899 <dd>
902900 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> ,
904902 such as the nested [=tree contexts=] of [=shadow trees=] in the [[!DOM]] .
905903
906904 When comparing two declarations
@@ -1052,8 +1050,8 @@ Important Declarations: the ''!important'' annotation</h3>
10521050 To balance this, a declaration can be marked [=important=] ,
10531051 which increases its weight in the cascade and inverts the order of precedence.
10541052
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]] ,
10571055 i.e. if the last two (non-whitespace, non-comment) tokens
10581056 in its value are the delimiter token ''!'' followed by the identifier token ''important'' .
10591057 All other declarations are <dfn>normal</dfn> (non-[=important=] ).
@@ -1175,7 +1173,7 @@ Declaring Cascade Layers: the ''@layer'' rule</h4>
11751173 </pre>
11761174
11771175 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]]
11791177 with a true condition.
11801178
11811179 The optional <dfn for='@layer'><<layer-ident>></dfn>
@@ -1537,7 +1535,7 @@ Rolling Back Cascade Origins: the ''revert'' keyword</h4>
15371535 For the purpose of ''revert'' , this origin includes the Animation <a>origin</a> .
15381536 </dl>
15391537
1540- <h4 id="default ">
1538+ <h4 id="revert-layer ">
15411539Rolling Back Cascade Layers: the ''revert-layer'' keyword</h4>
15421540
15431541 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>
15501548 Note: If there are no lower-priority declarations
15511549 in the same [=cascade origin=] as the ''revert-layer'' value,
15521550 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.
15541552
15551553
15561554<!--
@@ -1572,7 +1570,7 @@ Additions Since Level 4</h3>
15721570 The following features have been added since
15731571 <a href="https://www.w3.org/TR/css-cascade-4/">Level 4</a> :
15741572
1575- * Added ''layer()'' option to [= @import=] definition.
1573+ * Added ''layer()'' option to '' @import'' definition.
15761574 * Added [=cascade layers=] to the [=cascade=] sort criteria.
15771575 * Defined style attributes as a distinct step of the [=cascade=] sort criteria.
15781576 * Introduced the ''@layer'' rule for defining cascade layers.
0 commit comments