W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Should cloneNode() always yield writable node?

From: <keshlam@us.ibm.com>
Date: Mon, 28 Sep 1998 17:43:31 -0400
To: www-dom@w3.org
Message-ID: <8525668D.007710FB.00@us.ibm.com>
I'm currently assuming that cloning a readonly node will yield a copy
_without_ the readonly flag set, since once we take the data out of the
context that caused it to be made readonly there's no need to continue to
protect it. Anyone want to argue for retaining the value of this flag
instead?

(See also last week's wish for a clone operation that would allow
setting/resetting this flag via a parameter.)

______________________________________
Joe Kesselman  / IBM Research
Unless stated otherwise, all opinions are solely those of the author.
Received on Monday, 28 September 1998 13:56:00 GMT

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