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

@emilio I don't think that the global scope should be specialized in any way - that would limit composability. I think it would be more ideal, and work similarly, is allowing shadow roots to be open to styles from their containing scope. Shadow roots would transitively be open to document styles if all ancestor scopes were open.

So something like:
```ts
host.attachShadow({ mode: 'open', openStyleable: true });
```

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

Received on Saturday, 24 April 2021 04:08:23 UTC