Re: [csswg-drafts] [css-cascade] @scope as a nested grouping rule and CSSNestingDeclarations (#10431)

@mirisuzanne But the innermost rules would get 0,0,0 if we use `:where(:scope){}`, not 0,0,1. The innermost rules do not "see" the outer `div` rule. The thing that maintains a connection between `div` and the innermost rules is the intermediate `<scope-start>` selector, which gets an implicit `&` prepended. Inner `:scope` selectors then match the scoping roots created by that `<scope-start>`.


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


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

Received on Wednesday, 12 June 2024 10:05:58 UTC