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

> A major issue we're running into is lightdom (i.e. app-level) css interfering with our component styles.

I see. So, making `::slotted()` a combinator wouldn't directly help with that (the problem is that shadow DOM styles operate on a different level of the cascade), though it would make it *easier* to address it, since with this approach at least you're targeting the element in question directly, and not through another element.

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


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

Received on Thursday, 20 October 2022 16:32:37 UTC