File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1848,8 +1848,19 @@ Rolling Back Cascade Layers: the ''revert-layer'' keyword</h4>
18481848
18491849 Note: If there are no lower-priority declarations
18501850 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.
18531864
18541865
18551866<!--
You can’t perform that action at this time.
0 commit comments