This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27375 - [Shadow]: Define whether <style>s in shadow trees are loaded
Summary: [Shadow]: Define whether <style>s in shadow trees are loaded
Status: RESOLVED MOVED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on: 26850
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-20 03:46 UTC by Cameron McCormack
Modified: 2015-07-06 08:17 UTC (History)
4 users (show)

See Also:


Attachments
test (415 bytes, text/html)
2014-11-20 03:46 UTC, Cameron McCormack
Details

Description Cameron McCormack 2014-11-20 03:46:05 UTC
Created attachment 1551 [details]
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 Olli Pettay 2014-11-20 11:30:38 UTC
This is related to bug 26850
Comment 2 Hayato Ito 2015-07-06 08:17:14 UTC
Moved to https://github.com/w3c/webcomponents/issues/181