Re: Insulating part of a HTML document from global CSS

On 11/17/13 12:25 PM, Tab Atkins Jr. wrote:
> Stylesheets show up in the .stylesheets property of the shadow root
> their <style> or <link> is in (or the document, if they're in the
> topmost light dom).

Good, good.

>> And how exactly do scoped stylesheets interact with
>> web components?  Does the scoping happen on the DOM or the flattened tree?
>
> The DOM, though I don't think this is well-specified at the moment.

OK.  That makes sense to me.  Definitely need this specified; 
implementors are doing stuff in this space and it would be nice if they 
actually agreed.

-Boris

Received on Sunday, 17 November 2013 19:11:37 UTC