- From: Hayato Ito <notifications@github.com>
- Date: Mon, 25 May 2015 01:47:35 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Message-ID: <w3c/webcomponents/issues/56@github.com>
Title: [Shadow]: Style element should specify when to create and add style sheet in shadow DOM (bugzilla: 26850) Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26850 ---- comment: 0 comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26850#c0 *William Chen* wrote on 2014-09-18 18:32:10 +0000. The spec currently specifies the ShadowRoot styleSheets property as: "On getting, the attribute must return a StyleSheetList sequence containing the shadow root style sheets." The spec for the style element only specifies creating sheets for elements "in a Document": https://html.spec.whatwg.org/multipage/semantics.html#update-a-style-block The spec for "create a CSS style sheet" only adds sheets to the document: http://dev.w3.org/csswg/cssom/#create-a-css-style-sheet As it's currently specified, .styleSheets always returns an empty list. ---- comment: 1 comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26850#c1 *Simon Pieters* wrote on 2014-09-19 11:15:21 +0000. HTML and/or CSSOM can probably be changed if needed. ---- comment: 2 comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26850#c2 *Ian 'Hixie' Hickson* wrote on 2014-09-26 18:27:21 +0000. Yeah. Tell us what needs changing. ---- comment: 3 comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26850#c3 *Kenji Baheux* wrote on 2014-12-04 07:45:01 +0000. Hayato: let me increase the priority since we probably need to resolve this one to move forward on 27418 ---- comment: 4 comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26850#c4 *Hayato Ito* wrote on 2014-12-04 07:50:42 +0000. I think this is yet another instance of 'In a Document' issue. See https://www.w3.org/Bugs/Public/show_bug.cgi?id=26365. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/56
Received on Monday, 25 May 2015 08:48:02 UTC