- From: Anne van Kesteren <annevk@opera.com>
- Date: Mon, 25 Jul 2011 12:12:05 -0700
- To: www-dom@w3.org, João Eiras <joao.eiras@gmail.com>
On Sat, 02 Jul 2011 20:00:21 -0700, João Eiras <joao.eiras@gmail.com> wrote: > Cloning Document and DocumentType using cloneNode is supported in all > major browsers. importNode however, should not allow Document to be > imported, because a document can't be owned by another. A DocumentType > can though. Fixed. Apart from throwing an exception for documents importNode is identical to cloneNode at this point. I guess that is fine for now and appears to match implementations. I also made the /deep/ argument optional. -- Anne van Kesteren http://annevankesteren.nl/
Received on Monday, 25 July 2011 19:12:41 UTC