Re: ACTION-169: Mouse wheel events

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 UTC