[Bug 26850] New: [Shadow]: Style element should specify when to create and add style sheet in shadow DOM

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26850

            Bug ID: 26850
           Summary: [Shadow]: Style element should specify when to create
                    and add style sheet in shadow DOM
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: wchen@mozilla.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org
            Blocks: 14978

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 18 September 2014 18:32:12 UTC