<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>23052</bug_id>
          
          <creation_ts>2013-08-23 20:11:27 +0000</creation_ts>
          <short_desc>[Shadow]: HTMLShadowElement should also have getDistributedNodes()</short_desc>
          <delta_ts>2013-10-24 12:31:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>22715</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Elliott Sprehn">esprehn</reporter>
          <assigned_to name="Hayato Ito">hayato</assigned_to>
          <cc>hayato</cc>
    
    <cc>yutak</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92524</commentid>
    <comment_count>0</comment_count>
    <who name="Elliott Sprehn">esprehn</who>
    <bug_when>2013-08-23 20:11:27 +0000</bug_when>
    <thetext>This is necessary since if you have:

&lt;div&gt; --&gt; ShadowRoot
  &lt;div&gt;Hello&lt;/div&gt;
  &lt;span&gt;World&lt;/span&gt;
&lt;div&gt;

and inside ShadowRoot

&lt;content select=&quot;div&quot;&gt;&lt;/content&gt;
&lt;shadow&gt;&lt;/shadow&gt;

you cannot tell which nodes ended up in &lt;shadow&gt; without getDistributedNodes() or filling the pool yourself and then walking all insertion points and looking for the non-distributed nodes to notice the UA shadow with the &lt;content select=&quot;*&quot;&gt; is being used and should select the remaining nodes (div).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95298</commentid>
    <comment_count>1</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2013-10-24 11:18:18 +0000</bug_when>
    <thetext>Agreed. Now there is no reason that only content insertion points have getDistributedNodes().

Let me add that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95300</commentid>
    <comment_count>2</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2013-10-24 12:31:28 +0000</bug_when>
    <thetext>The spec was updated: https://dvcs.w3.org/hg/webcomponents/rev/56c32aa01490</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>