- From: Joćo Eiras <joao.eiras@gmail.com>
- Date: Sun, 03 Jul 2011 04:00:21 +0100
- To: www-dom@w3.org
>> But the clone algorithm can throw a DATA_CLONE_ERR, so the "must return >> a clone" isn't, in general, possible. > > Should we support cloning Document and DocumentType objects? (There's an > "<!--XXX wrong? -->" comment in the source.) > > 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.
Received on Sunday, 3 July 2011 03:01:03 UTC