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

> Don't you think that the name `:has-shadow` is misleading? There's still a huge audience that has no idea what a shadow root and shadow DOM even are. For them `:has-shadow` might sound like a kind of box-, text- and / or drop-shadow detection.
> 
> I think there needs to be a better name for this.

Good point. `:has-shadowroot`?

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11007#issuecomment-2427465970 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 18:46:51 UTC