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

Re: ISSUE-50: Should capturing EventListeners registered on the target fire?

From: <pettay@mappi.helsinki.fi>
Date: Thu, 23 Mar 2006 13:43:21 +0200
Message-ID: <1143114201.442289d9a45ae@www1.helsinki.fi>
To: Web APIs WG <public-webapi@w3.org>

Lainaus Bjoern Hoehrmann <derhoermi@gmx.net>:

> 
> * Web APIs Issue Tracker wrote:
> >It is not entierly clear in DOM Level 2 Events if this is how things
> should be.
> 
> Jonas discovered the relevant text, 1.2.2 has "A capturing EventListener
> will not be triggered by events dispatched directly to the EventTarget
> upon which it is registered." And Maciej found dispatchEvent09 in the
> DOM Level 2 Events test suite that tests for this. So the question is
> now whether we want to change this.
> -- 

It is clear how capturing phase should work in a normal DOM tree, but
when using XBL and if the event is created in anonymous content,
it is not clear whether capturing event listener should be triggered
on bound element.

-Olli
Received on Thursday, 23 March 2006 13:50:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT