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

Re: ACTION-169: Mouse wheel events

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 12 May 2006 12:08:22 +0000 (UTC)
To: Robin Berjon <robin.berjon@expway.fr>
Cc: Maciej Stachowiak <mjs@apple.com>, Public Web API <public-webapi@w3.org>
Message-ID: <Pine.LNX.4.62.0605121207541.21459@dhalsim.dreamhost.com>

On Fri, 12 May 2006, Robin Berjon wrote:
> 
> On May 03, 2006, at 03:02, Maciej Stachowiak wrote:
> > > interface WheelEvent : UIEvent {
> > >   readonly attribute long            screenX;
> > >   readonly attribute long            screenY;
> > >   readonly attribute long            clientX;
> > >   readonly attribute long            clientY;
> > >   readonly attribute boolean         ctrlKey;
> > >   readonly attribute boolean         shiftKey;
> > >   readonly attribute boolean         altKey;
> > >   readonly attribute boolean         metaKey;
> > >   readonly attribute long            wheelDelta;
> 
> In the case in which the wheel is not on a mouse, I guess screenX/Y and
> clientX/Y are 0?

They are presumably the same value as they are on click events that are 
dispatched as the default action of keyboard events.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 12 May 2006 12:08:45 GMT

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