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

My arguments against top-level relative selectors only apply to actual top-level selectors, unscoped by anything. If you have a scoped stylesheet, they don't apply, and I think top-level relative selectors are fine. (Notably, *non*-relative selectors work as expected in that case, identical to non-relative selectors inside a `@scope` block.)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12418#issuecomment-3020405338 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 19:10:42 UTC