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>  
> 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
Received on Monday, 20 February 2012 18:14:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:18 UTC