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.

There are some cases where we can `::slotted(thing) { what: ever !important; }` but we can't at all do that with nested content. So we have to choose between flexible components or effective distribution, a choice which is liable to produce neither outcome.

We're offering workarounds with our lightdom stylesheets, but we'd prefer not to have those at all, and just do everything in shadow DOM, which would be easier to use, more performant, and more maintainable.

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