Re: [csswg-drafts] [selectors-4] Disallow pseudo-elements inside :has() (#7463)

It isn't useful to do `:root:is(:scope)` either, but it still matches, because the query `:is(:scope)` is true.

`:has(::before)` is similarly true, so it should behave as if it is true.

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


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

Received on Wednesday, 20 July 2022 14:21:37 UTC