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

> And then you can't really use `<slot>` because...

There is no need to find "because" excuses, rather trying to find the solution would lay the path. 

Slots and templates are possible to implement on JS level, hence on browser level it would be even more efficient. [css-chain](https://unpkg.com/css-chain-test@1.1.7/dist/slots-light-vs-shadow.html) has a polyfill for template+slots without shadow DOM. 

I.e. you **can** use `<slot>` without shadow. As for performance, it is matter of abstracting the light DOM payload from non-shadow components to inlined template or reusing the template outside of shadow. 

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

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

Received on Tuesday, 20 September 2022 05:46:04 UTC