Re: [csswg-drafts] [css-cascade-6] Scoped selectors shouldn't match the scope root unless explicitly requested with :scope? (#8377)

@tabatkins can you clarify that 'anything that even resembles a :scope'? Is that meant to account for using `&` in a scoped context?

The main difference I see here is that `:scope` is intended to match _only_ the root element of a given scope - not to represent all possible matched elements of the scoping selector. I don't think we want `:scope :scope` to match anything (there can't be a second scoping element), while that is possible with `& &`. But that maybe causes a problem for treating `&` like `:scope` in a scoped context.

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


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

Received on Thursday, 16 February 2023 19:12:12 UTC