W3C home > Mailing lists > Public > public-webapi@w3.org > March 2006

Re: DOM-Events: Non-bubbleable means non-capturable?

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Thu, 23 Mar 2006 07:34:40 -0600
Message-ID: <4422A3F0.5090907@mit.edu>
To: Sergey Ilinsky <sergey@backbase.com>
CC: public-webapi@w3.org

Sergey Ilinsky wrote:
> but the test case given below proves different behaviour in FF.

For text inputs, Firefox has a capturing listener that calls stopPropagation() 
and fires before any capturing listeners on the page (conceptually, it's a 
listener on the "parent of the window" or so).  Hence no event in your case.

Also, in release versions of Firefox some events (eg. image load events) do not 
capture when they should.  This is fixed in development builds.

I suggest either testing the focus event on an anchor instead of a text input or 
testing some non-focus and non-blur event.

Received on Thursday, 23 March 2006 13:34:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:20 UTC