File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -1848,8 +1848,19 @@ Rolling Back Cascade Layers: the ''revert-layer'' keyword</h4>
1848
1848
1849
1849
Note: If there are no lower-priority declarations
1850
1850
in the same [=cascade origin=] as the ''revert-layer'' value,
1851
- the <a>cascaded value</a> will roll back to the previous origin,
1852
- just as for the ''revert'' keyword.
1851
+ the <a>cascaded value</a> will roll back to the previous origin.
1852
+
1853
+ Note: The [=animation origin=] is not collapsed with the [=author origin=] for this purpose
1854
+ as it is for ''revert'' ,
1855
+ and thus effectively forms its own [=cascade layer=] .
1856
+ <a href="#style-attr">Element-attached styles</a>
1857
+ likewise form their own [=cascade layer=] ;
1858
+ however, since [=author origin=] [=important=] rules are sorted
1859
+ between their [=normal=] and [=important=] levels,
1860
+ an element-attached [=important=] ''revert-layer'' declaration will revert through
1861
+ all [=author origin=] [=important=] declarations as well as the [=animation origin=]
1862
+ along with its own [=normal=] declarations,
1863
+ but not through any other [=author origin=] [=normal=] declarations.
1853
1864
1854
1865
1855
1866
<!--
You can’t perform that action at this time.
0 commit comments