- From: Joseph Kesselman <keshlam@us.ibm.com>
- Date: Fri, 3 Aug 2001 19:11:42 -0400
- To: "'www-dom@w3.org'" <www-dom@w3.org>
>What happens with EventListener's that are registered on adopted Node's? We should probably make that explicit, but the intent is that if adoptNode work at all, it really does give you "the same node" with all associated data. So yes, registered Event Listeners remain registered. >Typically, these are not stored with the Node, but are stored in a Map >in the Document. Implementation detail. Architecturally, they're registered on the EventTarget -- which is the node. Yes, if you've stored them separately you have to deal with transferring that information to the new document at the same time that you transfer the node. Or, if that's impractical, adoptNode() can fail. It's a bit odd in being a "best-effort" function; it works when and where it happens to work... ______________________________________ Joe Kesselman / IBM Research
Received on Friday, 3 August 2001 19:12:21 UTC