File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1857,6 +1857,22 @@ Rolling Back Cascade Layers: the ''revert-layer'' keyword</h4>
1857
1857
or between its [=normal=] and [=important=] levels in the [=cascade=] --
1858
1858
for this property on this element.
1859
1859
1860
+ ISSUE: <a href="#style-attr">Element-attached styles</a> (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 <em> not</em> any of the other author-origin ''!important'' rules.
1865
+ Is this what we want, or do we want something different?
1866
+ See <a href="https://github.com/w3c/csswg-drafts/issues/6743#issuecomment-970669172">Issue 6743 discussion</a> .
1867
+
1868
+ <!-- replace text in note below with the following normative text if we want to not revert important author rules
1869
+ For ''revert-layer'' in [=important=] <a href="#style-attr">element-attached styles</a> ,
1870
+ however,
1871
+ it only reverts the <a href="#style-attr">element-attached styles</a>
1872
+ and the intervening [=animation origin=] ,
1873
+ and not any of the intervening [=author-origin=] [=important=] rules.
1874
+ -->
1875
+
1860
1876
Note: If there are no lower-priority declarations
1861
1877
in the same [=cascade origin=] as the ''revert-layer'' value,
1862
1878
the <a>cascaded value</a> will roll back to the previous origin.
You can’t perform that action at this time.
0 commit comments