Bug 119115
Summary: | [Meta] document.body getter/setter should match the HTML5 spec | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | DOM | Assignee: | Chris Dumez <cdumez> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, cdumez, kling, koivisto, syoichi |
Priority: | P2 | Keywords: | BlinkMergeCandidate |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 159488, 159490 | ||
Bug Blocks: |
Ryosuke Niwa
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Chris Dumez
Fixed the getter via Bug 159488.
Fixing the setter via Bug 159490.