Re: [csswg-drafts] [css-scoping][selectors] `:root` should resolve to `:host` in shadow trees (#11000)

Even if resolving to `:host` is more natural, right now authors can choose `:host` vs `:root`.
If both `:root` and `:scope` behave as `:host`, then authors will lose the ability to target the actual root.
So maybe just changing `:scope` but not `:root` would offer more flexibility.

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


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

Received on Sunday, 20 October 2024 21:47:36 UTC