upvote
> 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?

reply
They ain't! Long live the cascade!

But when the desired outcome is "complete separation from the surrounding page," those are pretty serious problems!

reply