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

@LeaVerou 

> Unfortunate as it may be, I am tending to agree that consistency is more important, and we need to reproduce the JS behavior

Yeah, in the ideal case I completely agree, but I worry that the fact that the behavior spans CSS and JS makes our typically glacial pace more cosmological here. It also seems like we're down the path of inconsistency already with `:has-slotted` instead of `:has(:slotted)`, and this is not a reason to continue in this direction. I'm also really unsure on that status of `:empty`. Matching what's spec'd there seemed appealing, but that's definitely less the case if the spec is likely to adapt to what's implemented here.

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