Re: [csswg-drafts] [css-shadow-parts] Make `::slotted()` a combinator (#7922)

This is super interesting, and if it actually opens a fast lane for this, **_count me in_**!!! 🚀 

Did Ryosuke give any thoughts on how to _restrict_ the compound-selector in `:has()`? Compound selectors, like`:has()` inherently and `/slotted/ *` for having the ` ` don't seem to have limitations anywhere else and have caused some implementors to question the use of `:has()` in other shadow DOM-relative selectors. I will note that, intentional or not, Ryosuke's team at WebKit has been the most lenient in this area with their _spectacular_ support for all manner of `:host(:has(...))` selectors: https://wpt.fyi/results/css/css-scoping?label=master&label=experimental&aligned&q=host-has-0.

-- 
GitHub Notification of comment by Westbrook
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7922#issuecomment-2380260014 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 23:09:39 UTC