W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2005

[whatwg] Suggestion: Mouse Wheel events for Web Apps 1.0

From: Mark Wubben <markwubben@gmail.com>
Date: Tue, 21 Jun 2005 21:35:52 +0200
Message-ID: <3b24e6c505062112354206611c@mail.gmail.com>
On 6/21/05, Matthew Raymond <mattraymond at earthlink.net> wrote:
>     Mozilla uses addEventListener[1], which is in DOM 2 and DOM 3. (DOM
> 3 even adds addEventListenerNS for different namespaces.) By contrast,
> IE uses attachEvent, which is proprietary and doesn't allow you to
> specify the the initial capture. As a result, I would NOT support using
> attachEvent in any WHATWG standard, especially since it does not appear
> functionally different from addEventListener. (Is there even an
> IE-proprietary event listener method that supports namespaces?)

`attachEvent` does not maintain scope for the event listeners you
attach, the W3C DOM takes care of this. That's more of an issue than
capture phases, IMO.
Received on Tuesday, 21 June 2005 12:35:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC