- From: Joe Pea via GitHub <sysbot+gh@w3.org>
- Date: Fri, 12 Apr 2024 21:10:14 +0000
- To: public-css-archive@w3.org
I noticed another problem, that I think *might* be related to `:is()` handling (if not a browser bug?). First of all, this doesn't work, because chained `::part`s are unfortunately not allowed, and no styling is applied: ```js .some-el::part(foo)::part(bar) { color: red; } ``` However! If I change it to this: ```js .some-el &::part(foo)::part(bar) { color: red; } } ``` then some elements on the page get styled! I'm not sure why, because in my mind, both of them should be exactly the same (and we know that `:is()` behavior (especially tied with pseudos) can break expectations). -- GitHub Notification of comment by trusktr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9492#issuecomment-2052536817 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 12 April 2024 21:10:15 UTC