Re: [csswg-drafts] [css-values] Proposal: a way to revert a property to use presentational hints if any (#13213)

Nesting was indeed one of the concerns. `@layer foo.initial` probably doesn't make sense.

I guess for the current issue, `revert-layer(to initial)` or `revert-layer(initial)` could be special cased to always escape nesting, whereas `revert-layer(sublayer-name)` would be scoped to the current layer.

-- 
GitHub Notification of comment by mayank99
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13213#issuecomment-3849714990 using your GitHub account


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

Received on Wednesday, 4 February 2026 20:59:47 UTC