Re: [webcomponents] Ignore title attributes on style elements in shadow trees (#391)

If you have:

<link rel="alternate stylesheet" title="mystyle" href="...">
<custom-component></custom-component>

and <custom-component> has a <style title="mystyle"> inside its shadow tree, it will set mystyle as the preferred set and enable the alternate stylesheet in the document tree.

>From 7.1:

"At the same time, it is an encapsulation abstraction, so it has to avoid affecting the document tree."

Is there something in the spec already that would cover this case?


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/391#issuecomment-187378889

Received on Monday, 22 February 2016 20:56:38 UTC