This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15119 - [Shadow]: Define what happens when distributing <content> elements
Summary: [Shadow]: Define what happens when distributing <content> elements
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14978 15237
  Show dependency treegraph
 
Reported: 2011-12-08 18:48 UTC by Dimitri Glazkov
Modified: 2011-12-19 17:17 UTC (History)
0 users

See Also:


Attachments

Description Dimitri Glazkov 2011-12-08 18:48:01 UTC
Suppose you have shadow DOM subtree defined as follows:

<#shadow-root>
    <div id="foo">
        <content select="h1"></content>
    </div>
</#shadow-root>

Then, div#foo hosts another subtree, which goes like this:

<#shadow-root>
    <div>
        <content select="content"></content>
    </div>
</#shadow-root>

In other words, a shadow DOM subtree is hosted inside of a shadow DOM subtree, and the inner tree attempts to redistribute the <content> element. Will this work? How?
Comment 1 Dimitri Glazkov 2011-12-19 17:17:07 UTC
http://dvcs.w3.org/hg/webcomponents/rev/f429fbf4e015