W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2006

Re: capturing load events

From: Joćo Eiras <joao.eiras@gmail.com>
Date: Thu, 28 Dec 2006 14:14:28 +0000
Message-ID: <e72b1b360612280614y76d58293sd6003158cacccc2@mail.gmail.com>
To: www-dom@w3.org

You assuptiom could be right but...
Consider a document with a image and a script.
When it loads, there are 3 load events that are fired in the document,
one for the image, another to the script and a last one for the
document. Only the load event for document bubbles. The other two
don't, but they have their capturing phases. Therefore any capturing
event listener will be fired upon each of these load events, but since
of 2 don't bubble, non-capturing event listeners will fire only once
Received on Thursday, 28 December 2006 14:14:36 GMT

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