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

Thank you @mfreed7!

> 1. Are there WPTs?

Yes, though many are mixed with `:has-slotted()`. Here are the ones that include a bare `:has-slotted`:
- https://github.com/web-platform-tests/wpt/blob/master/css/css-scoping/has-slotted-007.tentative.html
- https://github.com/web-platform-tests/wpt/blob/master/css/css-scoping/has-slotted-002.tentative.html
- https://github.com/web-platform-tests/wpt/blob/master/css/css-scoping/has-slotted-flattened-002.tentative.html
- https://github.com/web-platform-tests/wpt/blob/master/css/css-scoping/has-slotted-flattened-007.tentative.html

Ideally the functional syntax should be separated into separate tests _even if_ we resolve to add it. They are separate features and need to be tested separately.

> 2. Would you mind [filing an implementation bug](https://crbug.com/new) for us?

Looks like someone beat me to it 15 hours ago! https://issues.chromium.org/issues/369883705

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


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

Received on Friday, 27 September 2024 22:46:50 UTC