This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
HTML and/or CSSOM can probably be changed if needed.
Yeah. Tell us what needs changing.
Hayato: let me increase the priority since we probably need to resolve this one to move forward on 27418
I think this is yet another instance of 'In a Document' issue. See https://www.w3.org/Bugs/Public/show_bug.cgi?id=26365.
Moved to https://github.com/w3c/webcomponents/issues/56