W3C home > Mailing lists > Public > public-html@w3.org > January 2009

Re: cloneNode() and script execution

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 19 Jan 2009 14:43:10 -0500
Message-ID: <4974D7CE.5040209@mit.edu>
To: Jonas Sicking <jonas@sicking.cc>
CC: "Hallvord R. M. Steen" <hallvord@opera.com>, public-html@w3.org

Jonas Sicking wrote:
> In other words, cloning a script node would not clone the 'has
> executed' flag? Independent of if the clone is deep or not?

No, it would clone the 'has executed' flag unless:

1)  The script has no @src

and

2)  The clone is shallow.

-Boris
Received on Monday, 19 January 2009 19:44:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:28 GMT