- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 28 Mar 2006 01:38:03 +0000 (UTC)
- To: Maciej Stachowiak <mjs@apple.com>
- Cc: Anne van Kesteren <annevk@opera.com>, "Web APIs WG (public)" <public-webapi@w3.org>
On Mon, 27 Mar 2006, Maciej Stachowiak wrote: > > > > Why not just do: > > > > interface MouseWheelEvent: MouseEvent { > > readonly attribute long wheelDelta; > > } > > > > ...where |wheelDelta| is a multiple of 120 (positive means rotated > > away from user or to the right, negative means rotated towards user or > > to the left), and we set |detail| to wheelDelta divided by 120? > > Backwards compatible with IE and Safari (and thus with existing > > content), and sensible at the same time. > > > > (Issue: In an RTL environment, should it be right/left as well or > > left/right instead? I suggest raising this with i18n.) > > I think the only issue with this might be whether it is possible to > provide a correct value for the "button" attribute. I'm not sure if > platform wheel events provide that. "button" only applies to events where a button was pressed. Thus it doesn't apply to mousewheel/mousewheelx events, just like it doesn't apply to mouseover events. IMHO. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 28 March 2006 01:38:21 UTC