[webcomponents] [Shadow]: Define whether <style>s in shadow trees are loaded (bugzilla: 27375) (#181)

Title: [Shadow]: Define whether <style>s in shadow trees are loaded (bugzilla: 27375)

Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27375

----
comment: 0
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27375#c0
*Cameron McCormack* wrote on 2014-11-20 03:46:05 +0000.

Created attachment 1551
test

Consider the attached test.  In Chrome, this displays:

  null
  [object CSSStyleSheet]
  null

while in Firefox currently it displays:

  [object CSSStyleSheet]
  [object CSSStyleSheet]
  [object CSSStyleSheet]

The issue is whether the \<style\> element in the shadow tree should be loaded if it is in a shadow tree but not in the final flattened view of the document.  Chrome's behaviour here probably makes sense, but it should be specified somewhere.

----

comment: 1
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27375#c1
*Olli Pettay* wrote on 2014-11-20 11:30:38 +0000.

This is related to bug 26850

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

Received on Monday, 6 July 2015 07:38:31 UTC