RESOLVED FIXED 119115
[Meta] document.body getter/setter should match the HTML5 spec
https://bugs.webkit.org/show_bug.cgi?id=119115
Summary [Meta] document.body getter/setter should match the HTML5 spec
Ryosuke Niwa
Reported 2013-07-25 17:07:30 PDT
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't allow framesets. Document::body would incorrectly return <frameset> even if <body> 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
Attachments
Chris Dumez
Comment 1 2016-07-06 19:07:47 PDT
Fixed the getter via Bug 159488. Fixing the setter via Bug 159490.
Note You need to log in before you can comment on or make changes to this bug.