<?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>15946</bug_id>
          
          <creation_ts>2012-02-10 00:11:19 +0000</creation_ts>
          <short_desc>[Shadow]: Specify a way to select elements in content</short_desc>
          <delta_ts>2012-03-15 22:37:01 +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>16009</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>jackalmage</cc>
    
    <cc>travil</cc>
    
    <cc>tross</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63941</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-02-10 00:11:19 +0000</bug_when>
    <thetext>In http://dglazkov.github.com/Tabs/, there is a definite need to address host children that are selected by the insertion points. Perhaps a ::content selector?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64666</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2012-02-28 00:54:18 +0000</bug_when>
    <thetext>Selectors 4 has a reference combinator that may be appropriate for this.  You could do something like:

content.foo /select/ input

Which would grab all the &lt;input&gt;s that were directly grabbed by the content.foo element.

This makes it somewhat less obvious that you&apos;re crossing the shadow boundary, but I think that&apos;s still okay.  The reference combinator is always going to be slightly weird.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65254</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-03-09 22:56:21 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Selectors 4 has a reference combinator that may be appropriate for this.  You
&gt; could do something like:
&gt; 
&gt; content.foo /select/ input
&gt; 
&gt; Which would grab all the &lt;input&gt;s that were directly grabbed by the content.foo
&gt; element.
&gt; 
&gt; This makes it somewhat less obvious that you&apos;re crossing the shadow boundary,
&gt; but I think that&apos;s still okay.  The reference combinator is always going to be
&gt; slightly weird.

This will work!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65259</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-03-10 00:15:29 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/webcomponents/rev/64fa6ff17919</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65638</commentid>
    <comment_count>4</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-03-15 22:37:01 +0000</bug_when>
    <thetext>Travis, Tony -- this also enables testability of node distribution correctness:

ShadowRoot.querySelector(&apos;content.foo \select\ *&apos;)

should give you all the nodes distributed into content.foo.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>