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

Unfortunate as it may be, I am tending to agree that consistency is more important, and we need to reproduce the JS behavior, while providing some kind of mechanism to at least make these cases detectable. 😢 What that mechanism would be needs more design discussion `:has-slotted-empty` reads very weird to me, and I wouldn't base things on entirely unimplemented precedent).

@keithamus looking at the PR, it seems there are many more design decisions to be made with the functional version, which would make the non-functional version at least easier to specify, if not also easier to implement. That doesn't mean we won't work on the functional version — if anything getting the non-functional version in ASAP paves the way for working on the functional version, it doesn’t compete against it.

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6867#issuecomment-2368965064 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 17:48:11 UTC