@@ -1874,12 +1874,22 @@ Rolling Back Cascade Origins: the ''revert'' keyword</h4>
18741874 For the purpose of ''revert'' , this origin includes the Animation <a>origin</a> .
18751875 </dl>
18761876
1877+ Note: Effectively the ''revert'' keyword is substituted with
1878+ the value from the earlier [=cascade origin=] .
1879+ Thus, reverting a [=shorthand property=] reverts all its longhands;
1880+ reverting any [[#aliasing|property alias]] of a property reverts all of them;
1881+ reverting one of the paired properties in a [=logical property group=]
1882+ also reverts the other one; etc.
1883+
18771884<h4 id="revert-layer">
18781885Rolling Back Cascade Layers: the ''revert-layer'' keyword</h4>
18791886
1887+ The <dfn value for=all>revert-layer</dfn> keyword
1888+ rolls back the cascade similar to ''revert'' ,
1889+ except it works by [=cascade layer=] rather than by [=cascade origin=] .
18801890 If the <a>cascaded value</a> of a property is
1881- the <dfn value for=all> revert-layer</dfn> keyword,
1882- the <a>cascaded value</a> is rolled back to the [=layer=] below ,
1891+ the '' revert-layer'' keyword,
1892+ the <a>cascaded value</a> is rolled back to the earlier [=layer=] ,
18831893 so that the <a>specified value</a> is calculated
18841894 as if no rules were specified in the current [=cascade layer=] --
18851895 or between its [=normal=] and [=important=] levels in the [=cascade=] --
@@ -1985,6 +1995,7 @@ Changes since the 13 Jan 2022 Candidate Recommendation Snapshot</h3>
19851995Non-trivial changes since the <a href="CSS Cascading and Inheritance Level 5">Candidate Recommendation Snapshot</a> :
19861996
19871997<!-- to 11 Jan 2022 -->
1998+ * Clarify that all “aliases” of a property are reverted by ''revert'' /''revert-layer'' .
19881999
19892000<h3 id="changes-2021-10">
19902001Changes since the 15 Oct 2021 Working Draft</h3>
0 commit comments