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

Re: Default value of cloneNode() parameter

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 20 Feb 2012 19:14:01 +0100
To: "Aryeh Gregor" <ayg@aryeh.name>, "Alexey Proskuryakov" <ap@webkit.org>
Cc: Ms2ger <ms2ger@gmail.com>, "Adam Barth" <w3c@adambarth.com>, www-dom@w3.org
Message-ID: <op.v9zoxnig64w2qv@annevk-macbookpro.local>
On Mon, 20 Feb 2012 19:05:06 +0100, Alexey Proskuryakov <ap@webkit.org>  
wrote:
> Both semantically and performance-wise, cloneNode is quite different  
> from importNode.

The only difference per specification is that importNode() does not take a  
document as parameter (other than because that is what is implemented  
there is no real reason for that difference, though I might be missing  
something). Other than that they are identical.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Monday, 20 February 2012 18:14:36 GMT

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