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

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 24 Mar 2006 03:42:33 +0100
To: pettay@mappi.helsinki.fi
Cc: Web APIs WG <public-webapi@w3.org>
Message-ID: <8am622puatre4jer0lc6gdjbspn55qcgq9@hive.bjoern.hoehrmann.de>

* pettay@mappi.helsinki.fi wrote:
>> 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.

As far as clearness is concerned, this is an issue you should raise with
the maintainers of the XBL variant you mean. DOM Level 3 Events is just
concerned with the DOM Event flow where, as you point out, behavior is
well-defined, and we can't usefully discuss other event flow models in
the specification. If there is anything specific you think DOM Level 3
Events should discuss in this regard, it would be good if you could send
a comment discussing this as a new thread to this list.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 24 March 2006 02:42:25 GMT

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