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

Mark Wubben markwubben at gmail.com
Tue Jun 21 12:35:52 PDT 2005


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.



More information about the whatwg mailing list