[Webkit-unassigned] [Bug 44639] New: should be able to move a node from one document to another
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 25 15:14:08 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44639
Summary: should be able to move a node from one document to
another
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ojan at chromium.org
CC: eric at webkit.org, hyatt at apple.com, mjs at apple.com,
darin at apple.com, ap at webkit.org, mitz at webkit.org,
abarth at webkit.org, arv at chromium.org
Created an attachment (id=65480)
--> (https://bugs.webkit.org/attachment.cgi?id=65480)
test case
You can do it now using adoptNode, but there's not reason we shouldn't allow a node to move from one document to another via appendChild. Firefox already allows this and it seems unlikely to me that there is code that depends on throwing an error here.
Needing to worry about what document a node is coming from makes multi-document code considerably more complicated (e.g. needs to pass document objects around).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list