This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
See http://hsivonen.iki.fi/test/moz/scripts/xhr-importNode.html In Gecko, it seems the 'already executed' flag is copied. In WebKit, it seems it isn't copied. Opera seems to execute the script because 'already executed' hasn't been set in the first place: http://hsivonen.iki.fi/test/moz/scripts/xhr.html IE9 beta1 seems to be unable to either adopt or import nodes from a non-ActiveX XHR doc into a doc in a browsing context. Please define the correct behavior for importNode in this case. In any case, it would be a bad idea to copy the 'parser-inserted' flag.
importNode() doesn't do anything at all, does it? I thought we were dropping that API entirely as a no-op.
"The importNode(node, deep) method must return a clone of node, with new ownerDocument being the context node, and the clone children flag set if deep is true." http://www.w3.org/TR/2010/WD-domcore-20101007/#dom-document-importnode
Oh, right, I was thinking of adoptNode(). EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Accepted Change Description: see diff given below Rationale: Concurred with reporter's comments. (I made it the same as cloneNode(), for sanity.)
Checked in as WHATWG revision r5863. Check-in comment: Clarify that the cloning that occurs for importNode() is the same as occurs for cloneNode(). http://html5.org/tools/web-apps-tracker?from=5862&to=5863
mass-moved component to LC1