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

@lukewarlow That's what :host is for, yes. *Within* the shadow, the host element is treated as the root of the shadow tree, so `:host:has(...) [popover]` should work just fine.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10492#issuecomment-2190028991 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:49:56 UTC