[Bug 22788] New: [Shadow]: Clarify apply-author-styles when styling elements in shadow trees based on host element

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

            Bug ID: 22788
           Summary: [Shadow]: Clarify apply-author-styles when styling
                    elements in shadow trees based on host element
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: tasak@google.com
        QA Contact: public-webapps-bugzilla@w3.org

Since styles in shadow trees can select host element, we should clarify
apply-author-styles of shadow roots of the host element.

for example,

style id="style0"
    #host { border: 1px solid blue; }
div
    #shadow-root
        style id="style1"
            #host { background-color: red; }
        div id="host"
            #shadow-root[apply-author-styles=true]
                style id="style2"
                    #host { background-color: green; }
                div

- The shadow root of div#host has apply-author-styles true.
- The shadow root containing div#host has apply-author-styles false.

My concern is whether styles in style#style0 will match div#host or not.

Currently, I think, "match".

c.f.
https://docs.google.com/document/d/1GWUtAjDUtJ8Ae0Yt3rBVsFmfpfoUa5ALK3WNWCHRtVk/edit?usp=sharing

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

Received on Wednesday, 24 July 2013 06:05:50 UTC