Re: [csswg-drafts] [css-scoping] :scope > * matches nothing in shadow trees (#11188)

Oof, that's an accidental interaction. Maybe we can just special-case that and say that, when calling querySelector() on a shadow root, the `:scope` represents the shadow host.

(The shadow root is, itself, not selectable *anyway*, as it doesn't exist in the tree as far as Selectors is concerned.)

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


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

Received on Tuesday, 12 November 2024 23:59:26 UTC