File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1464,7 +1464,7 @@ Erasing All Declarations: the ''unset'' keyword</h4>
14641464 (or all longhands of a <a>shorthand</a> ).
14651465
14661466<h4 id="default">
1467- Rolling Back The Cascade: the ''revert'' keyword</h4>
1467+ Rolling Back Cascade Origins : the ''revert'' keyword</h4>
14681468
14691469 If the <a>cascaded value</a> of a property is the <dfn for=all caniuse="css-revert-value">''revert''</dfn> keyword,
14701470 the behavior depends on the [=cascade origin=] to which the declaration belongs:
@@ -1490,6 +1490,19 @@ Rolling Back The Cascade: the ''revert'' keyword</h4>
14901490 For the purpose of ''revert'' , this origin includes the Animation <a>origin</a> .
14911491 </dl>
14921492
1493+ <h4 id="default">
1494+ Rolling Back Cascade Layers: the ''revert-layer'' keyword</h4>
1495+
1496+ If the <a>cascaded value</a> of a property is the <dfn for=all>''revert-layer''</dfn> keyword,
1497+ the <a>cascaded value</a> is rolled back to the layer below,
1498+ so that the <a>specified value</a> is calculated
1499+ as if no rules were specified in the current layer
1500+ for this property on this element.
1501+ If there are no lower-priority layers in the same [=cascade origin=]
1502+ as the ''revert-layer'' value,
1503+ the <a>cascaded value</a> may be rolled back to a previous origin,
1504+ as defined by the [=revert=] keyword.
1505+
14931506
14941507<!--
14951508████████ ████████ ██████
You can’t perform that action at this time.
0 commit comments