@@ -1856,22 +1856,11 @@ Rolling Back Cascade Layers: the ''revert-layer'' keyword
1856
1856
as if no rules were specified in the current [=cascade layer=] --
1857
1857
or between its [=normal=] and [=important=] levels in the [=cascade=] --
1858
1858
for this property on this element.
1859
-
1860
- ISSUE:
Element-attached styles (i.e. style attribute declarations)
1861
- do not follow the sandwich rule for their normal and important levels,
1862
- so strictly interpreted a ''!important'' style attribute declaration
1863
- would revert the style attribute styles as well as all ''!important'' author-origin styles,
1864
- but not any of the other author-origin ''!important'' rules.
1865
- Is this what we want, or do we want something different?
1866
-
1867
-
1868
-
1875
1864
1876
1865
Note: If there are no lower-priority declarations
1877
1866
in the same [=cascade origin=] as the ''revert-layer'' value,
@@ -1880,15 +1869,6 @@ Rolling Back Cascade Layers: the ''revert-layer'' keyword
1880
1869
Note: The [=animation origin=] is not collapsed with the [=author origin=] for this purpose
1881
1870
as it is for ''revert'' ,
1882
1871
and thus effectively forms its own [=cascade layer=] .
1883
-
1884
- likewise form their own [=cascade layer=] ;
1885
- however, since [=author origin=] [=important=] rules are sorted
1886
- between their [=normal=] and [=important=] levels,
1887
- an element-attached [=important=] ''revert-layer'' declaration will revert through
1888
- all [=author origin=] [=important=] declarations as well as the [=animation origin=]
1889
- along with its own [=normal=] declarations,
1890
- but not through any other [=author origin=] [=normal=] declarations.
1891
-
1892
1872
1893
1873
Layer APIs
1894
1874
0 commit comments