W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2004

L3 Core: adopting into their existing document

From: Curt Arnold <carnold@houston.rr.com>
Date: Wed, 07 Jan 2004 00:54:06 -0600
Message-ID: <3FFBAD0E.7060901@houston.rr.com>
To: www-dom@w3.org

Test documentadoptnode28 (unintentionally?) adopts a node into its 
current document.  Allowing this case seems undesirable, at best it acts 
as node.parentNode.removeChild(node), actual behavior could be much 
worse.  Would it be possible to state that WRONG_DOCUMENT_ERR should be 
thrown on attempt to adopt a node into the same document?
Received on Wednesday, 7 January 2004 01:54:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:12 UTC