W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > August 2012

[Bug 18513] New: [Shadow]: Consider re-projecting children in nested shadow DOM subtrees

From: <bugzilla@jessica.w3.org>
Date: Thu, 09 Aug 2012 21:51:11 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-18513-2532@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18513

           Summary: [Shadow]: Consider re-projecting children in nested
                    shadow DOM subtrees
           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: 18428


Consider this scenario:

For Shadow DOM subtrees A and B, with A nesting inside B, there is an insertion
point IPa  in tree A that matches some (or all) children of the shadow host
[Ah].

At the same time, an insertion point IPb in tree B is positioned as a direct
child of A.

The shadow host [Bh] of tree B has one child C.

 [Bh] -- B
   |        |
  C      [Ah] -- A
            |          |
          IPb        IPa

The question is this:

If C is matched by IPb and C is matched by IPa, is C rendered as child of:
a) Ah
b) A?

As spec'd today, the answer is [Ah], which is a bit weird, since it seems
logically like it should follow the same rendering rules as any other children
of [Ah]

-- 
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 Thursday, 9 August 2012 21:51:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 August 2012 21:51:12 GMT