Re: Revisiting the persisting of attributes on thecombo_box widget

Mark Anderson <[email protected]> Thu, 11 Sep 2003 10:52:33 -0700
Newsgroups gmane.comp.windows.devel.netwindows
Message-ID <[email protected]>

> because it is replaced (removed). We could cloneNode() it and store that 
> instead althought I don't know what kind of a "hit" we're going to take in 
> terms of memory usage. No way to tell until we try, I guess.

no need to cloneNode().
whether a Node instance is an orphan in the DOM has no relation to whether
there are js objects with pointers to it.

i believe that all we'd have to do is insert this line in NW_checkNodeIsConstructor:

    locObj.srcNode = set_n;

-mda



_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org