W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2009

Re: That's a lot of events!

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 18 May 2009 18:19:31 -0400
Message-ID: <4A11DEF3.1060308@mit.edu>
To: "Emanuele D'Arrigo" <manu3d@gmail.com>
CC: www-dom@w3.org
Emanuele D'Arrigo wrote:
> My interpretation of this is that if I add a subtree of, say, 50 nodes, 
> each one of them will trigger a DOMNodeInsertedIntoDocument.

That's correct.

> Because it seems like an awful lot of events. I was thinking that maybe the 
> insertion of a 50 nodes subtree might not be likely on the web

Much bigger subtrees are quite common, actually.

> Maybe I'm misinterpreting something?

Not at all.  There's a reason this event is not supported in Gecko....

-Boris
Received on Monday, 18 May 2009 22:20:12 GMT

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