<?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>22399</bug_id>
          
          <creation_ts>2013-06-18 19:33:44 +0000</creation_ts>
          <short_desc>[Shadow]: ShadowRoot should have an host property</short_desc>
          <delta_ts>2013-10-25 06:40:43 +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>dglazkov</cc>
    
    <cc>dominicc</cc>
    
    <cc>hayato</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>89494</commentid>
    <comment_count>0</comment_count>
    <who name="Elliott Sprehn">esprehn</who>
    <bug_when>2013-06-18 19:33:44 +0000</bug_when>
    <thetext>ShadowRoot.host should let you walk up the tree to the Document. This is important for doing certain kinds of hit testing (computing offsets) and finding containers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89699</commentid>
    <comment_count>1</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-06-21 14:22:29 +0000</bug_when>
    <thetext>In the world without shadow encapsulation in which we find ourselves (shadowRoot, olderShadowRoot, etc.) having ShadowRoot.host too makes sense.

I believe this was heavily canvassed on an earlier bug. Can we reopen that one? There might be something pertinent already discussed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90866</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-07-17 19:44:09 +0000</bug_when>
    <thetext>*** Bug 20605 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94479</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-10-08 17:48:54 +0000</bug_when>
    <thetext>*** Bug 23462 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94480</commentid>
    <comment_count>4</comment_count>
    <who name="Elliott Sprehn">esprehn</who>
    <bug_when>2013-10-08 18:02:06 +0000</bug_when>
    <thetext>What&apos;s the status of this? I see lots of other things have made it into the spec recently but this one property is still missing. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95284</commentid>
    <comment_count>5</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2013-10-24 08:43:43 +0000</bug_when>
    <thetext>I am okay to add the host property to the ShadowRoot.
Is there any objection? If there is no objection in a week, let me add that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95291</commentid>
    <comment_count>6</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2013-10-24 10:43:17 +0000</bug_when>
    <thetext>If we can add ShadowRoot.host, it might be also okay add ShadowRoot.olderShadowRoot.
See https://www.w3.org/Bugs/Public/show_bug.cgi?id=20260.

They are similar in a sense of encapsulation.

Actually ShadowRoot.olderShadowRoot has already been implemented in blink behind the flag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95333</commentid>
    <comment_count>7</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2013-10-25 03:38:10 +0000</bug_when>
    <thetext>Let me add ShadowRoot.host to the spec.

I think We don&apos;t have a clear reason to reject ShadowRoot.host if we allow ShadowRoot.olderShadowRoot.

The spec has ShadowRoot.olderShadowRoot, which was already implemented in blink behind the flag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95338</commentid>
    <comment_count>8</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2013-10-25 06:40:43 +0000</bug_when>
    <thetext>I&apos;ve updated the spec:
https://dvcs.w3.org/hg/webcomponents/rev/6743f1ace623

If you have a concern, please let me know that.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>