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 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:00 UTC