Re: Insulating part of a HTML document from global CSS

On 11/17/13 11:23 AM, Tab Atkins Jr. wrote:
> Putting together a simple web component that just pulls its light-DOM
> contents into its own shadow is pretty simple and easy, and does
> everything you need - the email will be protected from outside styles,
> and it's styles won't be able to leak out, either.

Speaking of, by the way, what is the interaction of components with 
document.styleSheets?  And how exactly do scoped stylesheets interact 
with web components?  Does the scoping happen on the DOM or the 
flattened tree?

-Boris

Received on Sunday, 17 November 2013 16:42:56 UTC