[Bug 18454] New: [Shadow]: Define how apply-author-styles affects sibling selectors

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

           Summary: [Shadow]: Define how apply-author-styles affects
                    sibling selectors
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
        AssignedTo: dglazkov@chromium.org
        ReportedBy: tross@microsoft.com
         QAContact: public-webapps-bugzilla@w3.org


Per the current spec, authors can set the apply-author-styles flag to true to
allow CSS selectors from the document to match content in the shadow sub tree.
However, the spec does not call out how this impacts the application of sibling
selectors (and nth-child selectors, etc.) for direct children of the
ShadowRoot. 

Specifically, are the children of the ShadowRoot treated as an independent
collection from the children of the shadow host for selector matching? This
seems to be the implied effect, though alternatives like treating the
ShadowRoot children as occurring before or after the children of the shadow
host could be considered.

Either way, the spec should probably explicitly define this behavior.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 31 July 2012 23:04:25 UTC