[csswg-drafts] [css-cascade-5] `revert-layer` in element-attached styles (#10934)

bramus has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-cascade-5] `revert-layer` in element-attached styles ==
As per https://drafts.csswg.org/css-cascade-5/#revert-layer, `revert-layer` in _important_ element-attached styles should revert back to the author origin:

> For `revert-layer` in important element-attached styles, however, it only reverts the element-attached styles and the intervening animation origin, and not any of the intervening author-origin important rules.

https://wpt.live/css/css-cascade/revert-layer-009.html however seems to imply this is also the case for _regular_ element-attached styles, with [all vendors agreeing on this behavior](https://wpt.fyi/results/css/css-cascade/revert-layer-009.html?label=experimental&label=master&aligned).

Suggestion to update the spec to the following, dropping the word “important”:

> For `revert-layer` in element-attached styles, however, it only reverts the element-attached styles and the intervening animation origin, and not any of the intervening author-origin important rules.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10934 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 23 September 2024 09:28:41 UTC