Re: [csswg-drafts] [selectors] Behavior of :root inside Shadow DOM (#10492)

The use case is to not need a single root element in shadow roots to use `:has()` in this case the root has two root elements, a button and a popover. With the right markup you could get next sibling combinators working, but it'd be nice if you could use `:has()` instead

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


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

Received on Tuesday, 25 June 2024 21:25:19 UTC