[csswg-drafts] [css-cascade] Outside `@scope`, `:scope` should resolve to `:host` in shadow trees (#11000)

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

== [css-cascade] Outside `@scope`, `:scope` should resolve to `:host` in shadow trees ==
Currently, if used in regular CSS but outside an `@scope` rule, `:scope` resolves to `:root`. However, this is not super useful within shadow CSS. `:host` would be a lot more natural.

This would be a breaking change, but I’d wager the prevalence of `:scope` in shadow CSS is so low that we can still make it.

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


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

Received on Friday, 4 October 2024 02:26:46 UTC