<?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>24870</bug_id>
          
          <creation_ts>2014-02-28 22:27:12 +0000</creation_ts>
          <short_desc>[Shadow]: HTMLTitleElement shouldn&apos;t work in shadow trees</short_desc>
          <delta_ts>2014-09-23 15:14:37 +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>22361</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>14978</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>bugs</cc>
    
    <cc>jonas</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101674</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2014-02-28 22:27:12 +0000</bug_when>
    <thetext>This is in Blink implementation, but not in the spec: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/html/HTMLTitleElement.cpp&amp;l=55</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101677</commentid>
    <comment_count>1</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2014-02-28 23:34:09 +0000</bug_when>
    <thetext>Why blink has that?
I could imagine someone want to override normal &lt;title&gt;.
Also, the less special cases web components stuff has, the better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101678</commentid>
    <comment_count>2</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2014-02-28 23:36:01 +0000</bug_when>
    <thetext>Though, setting document.title becomes a bit odd if title can be
in the shadow dom.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105114</commentid>
    <comment_count>3</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2014-05-05 22:14:13 +0000</bug_when>
    <thetext>Content in the shadow DOM should by default act &quot;like normal&quot;. For a &lt;title&gt; that means that if the Document is in the &lt;title&gt;&apos;s parent chain, and there are no &lt;title&gt;s &quot;ahead of it&quot; in document order, then it affects the Document&apos;s title. Otherwise it does not.

Shadow DOM never has a Document in its parent chain, and so it should not affect the Documents title.

If you want to build your own custom &lt;title&gt; element, then you can do that by using the Custom Elements spec and set Document.title.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105116</commentid>
    <comment_count>4</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2014-05-05 22:15:46 +0000</bug_when>
    <thetext>Also note that we should not set the &quot;in document&quot; flag for Shadow content in Gecko. That has a very random set of effects. What effects it has is very Gecko specific and changes over time depending on how we implement various elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112022</commentid>
    <comment_count>5</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2014-09-23 15:14:37 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>