Re: [csswg-drafts] [selectors] `:empty` selector shouldn't match elements with shadow roots (#6771)

That would allow to observe the shadow root contents unexpectedly, which is an anti-goal afaict? Selectors usually work on the light tree.

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


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

Received on Wednesday, 27 October 2021 23:50:13 UTC