Re: [csswg-drafts] [selectors] Pseudo-class to indicate when a slot has content (#6867)

@sorvell That is not an inconsistency, `:has(:slotted)` has an existing meaning that doesn’t fit what we want to do here: it would match **descendants** that match a (nonexistent) `:slotted` pseudo-class. 

I doubt `:empty` will ever be fixed at this point as that would have web compat implications — we'd probably need to define a new one at this point. Not sure if anyone is already working on this.

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


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

Received on Monday, 23 September 2024 18:38:16 UTC