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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:57 GMT