[csswg-drafts] [css-nesting-1][css-cascade-6] Should/can relative selectors be allowed un-nested (#12418)

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

== [css-nesting-1][css-cascade-6] Should/can relative selectors be allowed un-nested ==
@LeaVerou [raised this question](https://github.com/w3c/csswg-drafts/issues/11756#issuecomment-2689332711) in a discussion about scoped imports:

> why aren't they valid? We resolved a while ago that outside of nesting, `:scope` and `&` resolve to `:root`. If `> h2` is essentially equivalent to `& > h2`, why wouldn't that be valid in the root scope?


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


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

Received on Monday, 30 June 2025 16:44:04 UTC