Re: [WICG/webcomponents] "open-stylable" Shadow Roots (#909)

> I'd also add that platform features like `@scope` in CSS change the styling story as well, where that might be a better utility for component-level encapsulation.

`@scope` doesn't allow for interoperable composition with slots, which is a critical feature of shadow DOM.

In the Lit world, we have a way to render to light DOM (that I don't usually recommend) and almost every time someone starts using it they end up asking for light DOM slots, which are  not possible. What they _really_ want is for outer styles to apply to shadow DOM and keep slots.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/909#issuecomment-1792776781
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/909/1792776781@github.com>

Received on Friday, 3 November 2023 16:38:09 UTC