Re: [csswg-drafts] [css-cascade-6] `&` matching inside the `@scope`, and its interaction with `:scope` (#9740)

> One thing you could argue here instead, is whether using @scope should carve out a subtree based on <scope-start> and only consider that subtree in isolation when doing selector matching?

We already basically have this property with the current design. There's no point in looking at `.outer :scope .inner` at all, if the element you're currently considering isn't in scope.


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


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

Received on Thursday, 3 July 2025 11:27:48 UTC