<?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>119115</bug_id>
          
          <creation_ts>2013-07-25 17:07:30 -0700</creation_ts>
          <short_desc>[Meta] document.body getter/setter should match the HTML5 spec</short_desc>
          <delta_ts>2016-07-06 21:49:38 -0700</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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BlinkMergeCandidate</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>159488</dependson>
    
    <dependson>159490</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>ap</cc>
    
    <cc>cdumez</cc>
    
    <cc>kling</cc>
    
    <cc>koivisto</cc>
    
    <cc>syoichi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>911808</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-07-25 17:07:30 -0700</bug_when>
    <thetext>Consider merging https://chromium.googlesource.com/chromium/blink/+/4cb65a17e49d135e7d0d4209eb557e98b2d7b097

Document::setBody previously would create a deep copy of the node if you moved it
from a different document and didn&apos;t allow framesets. Document::body would incorrectly
return &lt;frameset&gt; even if &lt;body&gt; came first. I also made setBody AttachLazily just
like doing appendChild(body) would have done.

Spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-body</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1208497</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2016-07-06 19:07:47 -0700</bug_when>
    <thetext>Fixed the getter via Bug 159488.
Fixing the setter via Bug 159490.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>