Re: [csswg-drafts] [css-scoping] `:has-shadow` pseudo-class (#11007)

Could elements with shadow root attach a pseudo element and we could just do:
`:has(::shadowroot)`

or somethign similar? Just brain dumping rn, but imo newish features should be reused more often so people see that there are more usecase for them. I mean we already have `:has()`?

Happy to debate @LeaVerou.

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


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

Received on Monday, 21 October 2024 19:48:42 UTC