Re: [csswg-drafts] [css-cascade-6] `:scope` scoping root node clarification (#9739)

`:scope` only matches the scoping root (which is not the `<scope-start>` or `&`), the spec sounds clear to me about this. I used the word "representing" (for a lack of better one) to explicitly not say "matching" : the scoping root might be any `.a` element, but the `:scope` is exclusively matching this precise element. The example you provide look like a WebKit implementation bug, thanks for finding this.


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


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

Received on Thursday, 21 December 2023 15:53:51 UTC