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

> It also seems like we're down the path of inconsistency already with :has-slotted instead of :has(:slotted)

That's not at all inconsistent. You can't do `slot > .slotted-element` to select things slotted in, so `slot:has(.slotted-element)` won't work either. You need a new concept to be able to match that stuff.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6867#issuecomment-2369073107 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:37:08 UTC