-
Notifications
You must be signed in to change notification settings - Fork 756
Description
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-layerin 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.
Suggestion to update the spec to the following, dropping the word “important”:
For
revert-layerin 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.