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

> @keithamus
> 
> > if `:has-slotted` is an effective alias for `:has-slotted(*)`
> 
> It isn't though. @LeaVerou's point here is very important:
> 
> > * the non-functional form is not simply an alias to `:has-slotted(*)`, as the latter **does not detect text nodes**.

Apologies I misread. In that both make sense to have, but again (hubris incoming) I think they can both be specified and implemented reasonably straightfowardly in unison, it's certainly how I'd prefer to tackle it.

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


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

Received on Friday, 20 September 2024 22:13:32 UTC