3 ms·
> CSS variables leak in to it from the "light"/regular DOM. > You can query elements in it from the host with `shadowRoot.querySelector()`. > The elements als
by marcosdumay 8mo ago
> CSS variables leak in to it from the "light"/regular DOM.
> You can query elements in it from the host with `shadowRoot.querySelector()`.
> The elements also inherit styles from parents
Why do people keep talking about those things as if they were problems?
- lelandfe 8mo agoThey ain't! Long live the cascade! But when the desired outcome is "complete separation from the surrounding page," those are pretty serious problems!