<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>148850</bug_id>
          
          <creation_ts>2015-09-04 16:41:58 -0700</creation_ts>
          <short_desc>HTMLTemplateElement.content should have its own ownerDocument</short_desc>
          <delta_ts>2016-03-02 17:29:36 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>154936</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1123731</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2015-09-04 16:41:58 -0700</bug_when>
    <thetext>HTMLTemplateElement should create a signleton owner document
that&apos;s shared amongst all of its &quot;inert&quot; contents.

See https://html.spec.whatwg.org/multipage/scripting.html#appropriate-template-contents-owner-document

This bug was found by the newly added test:
LayoutTests/http/tests/w3c/html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1123732</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-09-04 16:42:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/22587512&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1123733</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2015-09-04 16:42:33 -0700</bug_when>
    <thetext>html/semantics/scripting-1/the-template-element/definitions/template-contents-owner-test-001.html also fails because of this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1170034</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2016-03-02 17:29:09 -0800</bug_when>
    <thetext>Oh oops, I uploaded the patch to a wrong bug :(

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

    </bug>

</bugzilla>