<?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>16904</bug_id>
          
          <creation_ts>2012-05-01 23:09:15 +0000</creation_ts>
          <short_desc>[Shadow]: Consider better aligning with or just plain moving ShadowRoot interface to DOM spec</short_desc>
          <delta_ts>2014-11-19 04:53:34 +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>DUPLICATE</resolution>
          <dup_id>23620</dup_id>
          
          <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>15480</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>hayato</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67228</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-05-01 23:09:15 +0000</bug_when>
    <thetext>Exposing getElementById() etc. here but not on DocumentFragment does not make sense to me. Is NodeSelector not enough?

Selection is exposed as window.getSelection() today. Why should it be ShadowRoot.selection?

Should we actually define this interface in the DOM? Introducing new nodes outside the DOM specification seems kind of odd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67689</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-05-14 21:22:12 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Exposing getElementById() etc. here but not on DocumentFragment does not make
&gt; sense to me. Is NodeSelector not enough?

NodeSelector is quite sufficient. Are you thinking we should just remove get* methods from ShadowRoot?

&gt; Selection is exposed as window.getSelection() today. Why should it be
&gt; ShadowRoot.selection?

Yup, my bad. Fixed this in http://dvcs.w3.org/hg/webcomponents/rev/d694bf9b9d3c.
 
&gt; Should we actually define this interface in the DOM? Introducing new nodes
&gt; outside the DOM specification seems kind of odd.

I agree, I think we need to align this spec with the DOM Core and HTML specs, as we discussed at the F2F.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67713</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-05-15 09:22:46 +0000</bug_when>
    <thetext>I think we should remove the getEle* methods yes. I think we should remove &quot;ShadowRoot implements NodeSelector;&quot; too as ShadowRoot inherits from DocumentFragment which already has that. The same goes for innerHTML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76455</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-10-16 21:28:10 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; I think we should remove the getEle* methods yes. I think we should remove
&gt; &quot;ShadowRoot implements NodeSelector;&quot; too as ShadowRoot inherits from
&gt; DocumentFragment which already has that. The same goes for innerHTML.

The only quirk is that querySelector/querySelectorAll have slightly different semantics when called on ShadowRoot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109930</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-08-05 12:55:49 +0000</bug_when>
    <thetext>Why would they have different semantics?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115095</commentid>
    <comment_count>5</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2014-11-19 04:53:34 +0000</bug_when>
    <thetext>getElementById was already removed. Let me merge this to bug 23620.

*** This bug has been marked as a duplicate of bug 23620 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>