[Bug 18345] New: [Shadow]: @host in a shadow DOM subtree that is not rendered

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

           Summary: [Shadow]: @host in a shadow DOM subtree that is not
                    rendered
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
        AssignedTo: dglazkov@chromium.org
        ReportedBy: dglazkov@chromium.org
         QAContact: public-webapps-bugzilla@w3.org
            Blocks: 14978


This is related to bug 17515, but is different enough to warrant its own bug.

Does the @host at-rule apply to the shadow host if it is specified in a shadow
DOM subtree that is not currently rendered?

Example:

Troy built a CoolWidget and specified some styling on the host element using
@host at-rule in its shadow DOM subtree.

Later, Abed builds a CoolCoolWidget, which is subclassed from CoolWidget, but
has a completely different visual appearance. Thus, Abed chooses not to reuse
Troy's shadow DOM subtree and does not include a <shadow> element in his
widget's shadow DOM subtree.

The question is: does Abed have to now fight Troy's @host at-rules and
defensively override them or do they just not apply, since Abed doesn't use any
of Troy's tree?

-- 
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 Friday, 20 July 2012 16:34:56 UTC