Skip to content

Commit 090abe4

Browse files
committed
[css-cascade-5] Make sure rules sandwiched within the layer get reverted.
1 parent 23e8ba6 commit 090abe4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

css-cascade-5/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,10 +1542,11 @@ Rolling Back Cascade Layers: the ''revert-layer'' keyword</h4>
15421542
If the <a>cascaded value</a> of a property is the <dfn for=all>''revert-layer''</dfn> keyword,
15431543
the <a>cascaded value</a> is rolled back to the [=layer=] below,
15441544
so that the <a>specified value</a> is calculated
1545-
as if no rules were specified in the current [=cascade layer=]
1545+
as if no rules were specified in the current [=cascade layer=]--
1546+
or between its [=normal=] and [=important=] levels in the [=cascade=]--
15461547
for this property on this element.
15471548

1548-
Note: If there are no lower-priority layers
1549+
Note: If there are no lower-priority declarations
15491550
in the same [=cascade origin=] as the ''revert-layer'' value,
15501551
the <a>cascaded value</a> will roll back to the previous origin,
15511552
just as for the [=revert=] keyword.

0 commit comments

Comments
 (0)