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

Re: ISSUE-55: wheelDelta DOM attribute for mousewheel event

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 28 Mar 2006 01:54:00 -0800
Message-ID: <442907B8.2030305@sicking.cc>
To: Web APIs WG <public-webapi@w3.org>

Web APIs Issue Tracker wrote:
> ISSUE-55: wheelDelta DOM attribute for mousewheel event
> 
> http://www.w3.org/2005/06/tracker/webapi/issues/55
> 
> Raised by: Anne van Kesteren
> On product: DOM 3 Events
> 
> Per previous resolutions we resolved to have a "wheel" event and that we'd call
> it mousewheel. The event would generic. The issue regarding multiple directions
> is ISSUE-33. There another open issue though with regard to what we do with
> .wheelDelta. Possible options I see:
> 
>  (a) Don't mention it and use UIEvent.detail instead
>  (b) Extend MouseEvent with wheelDelta
>  (c) Have a special interface for mousewheel.
>  (d) Do (a) but have wheelDelta in the ECMAScript binding mapped to
>      UIEvent.detail in some way.
> 
> (When considering this it might be worth keeping in mind that other interfaces
> also don't really have "every" attribute browsers implemented represented.)

(a) sounds the most attractive to me. Browsers that want compat with 
existing content are always free to add wheelDelta that maps to detail 
if they want.

/ Jonas
Received on Tuesday, 28 March 2006 09:54:14 GMT

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