<?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>20243</bug_id>
          
          <creation_ts>2012-12-05 05:01:28 +0000</creation_ts>
          <short_desc>[Shadow]: Strengthen boundary between shadow host&apos;s document elements and shadow tree nodes</short_desc>
          <delta_ts>2013-07-17 20:05:36 +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>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>20139</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="Aleksei Yu.Semenov">a.semenov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>79456</commentid>
    <comment_count>0</comment_count>
    <who name="Aleksei Yu.Semenov">a.semenov</who>
    <bug_when>2012-12-05 05:01:28 +0000</bug_when>
    <thetext>The Shadow DOM ( http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html ) specification reads:

&quot;4.1 Upper-boundary Encapsulation

To maintain the upper-boundary encapsulation, the following scoping constraints must apply to all nodes in a shadow tree:

 * The ownerDocument property refers to the document of the shadow host
 * The nodes and named elements are not accessible using shadow host&apos;s document DOM tree accessors or with Window object named properties
 * The nodes are not present in any of the document&apos;s NodeList, HTMLCollection, or DOMElementMap instances
 * The nodes with a unique id and named elements are not addressable from any attributes of elements in shadow host&apos;s document&quot;

This text leave possibility for shadow nodes with given id or name to be addressed from NodeList, HTMLCollection, or DOMElementMap properties of elements in shadow host&apos;s document.

For example, the form element (http://www.w3.org/TR/html5/the-form-element.html#the-form-element ) define property of type HTMLFormControlsCollection. Named child element of the form can be accessed via
form.elements.namedItem(&apos;child-id&apos;). The specification do not clarify, whether the shadowed named child element should be accessible in such way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90867</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-07-17 20:05:36 +0000</bug_when>
    <thetext>These normative requirements need to be removed from the spec. They are confusing to implementers, test writers and developers. Duping against bug 20139.

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

    </bug>

</bugzilla>