W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2013

Re: Better event listeners

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Sun, 06 Jan 2013 15:01:26 +0200
Message-ID: <50E975A6.5050901@helsinki.fi>
To: Glenn Maynard <glenn@zewt.org>, Anne van Kesteren <annevk@annevk.nl>
CC: www-dom@w3.org, Yehuda Katz <wycats@gmail.com>
On 01/05/2013 09:30 PM, Glenn Maynard wrote:
> On Sat, Jan 5, 2013 at 6:52 AM, Olli Pettay <Olli.Pettay@helsinki.fi <mailto:Olli.Pettay@helsinki.fi>> wrote:
>         Should we make all events bubble for the purposes of this new
>         registration mechanism?
>     Why?
> You always want events to bubble for event delegation.

Really? How would it work in a sane way with mouseenter/leave which behavior
is largely about non-bubbling.

Or perhaps you don't meant normal bubbling but you mean that if there is
this kind of special event listener in an ancestor, such listener should be
called even is the event doesn't bubble.
(Such would sound very much like what happens with XBL1+non-bubbling events)

Received on Sunday, 6 January 2013 13:01:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:20 UTC