Re: Default value of cloneNode() parameter

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 UTC