Re: MutationObserver - a better interface

On Tue, Feb 11, 2014 at 3:39 PM, Axel Dahmen <brille1@hotmail.com> wrote:
> Moreover: If there is a MutationObserver attached to a node and if that node
> gets deleted from the DOM, the corresponding observer must automatically
> disconnect and the internal “Node <> CallBackFunction” entry must be removed
> from the MutationObserver's internal dictionary.

No you don't want that. If a node is removed from the DOM nodes can
still be inserted into and in fact while it is removed it can be that
it is being inserted someplace else.

And yes, we're not going to change the current API.


-- 
http://annevankesteren.nl/

Received on Tuesday, 11 February 2014 15:44:49 UTC