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

Re: ACTION-195: mousewheel proposal

From: Jim Ley <jim@jibbering.com>
Date: Sat, 24 Jun 2006 11:42:12 +0100
Message-ID: <003101c6977a$da8d85b0$0302a8c0@Sniff>
To: "Web APIs WG \(public\)" <public-webapi@w3.org>

"Matthew Raymond" <mattraymond@earthlink.net>
>   My understanding is that they're trying to spec this in a way that
> doesn't make existing mousewheel code written for IE incompatible.

I realise that but wheelDeltaX,Y,Z has no implementation in IE, so there's 
no code around that's using it.

> Here's a quote from the |onmousewheel| documentation on MSDN:
> | The onmousewheel event is the only event that exposes the wheelDelta
> | property. This property indicates the distance that the wheel button
> | has rotated, expressed in multiples of 120. A positive value indicates
> | that the wheel button has rotated away from the user. A negative value
> | indicates that the wheel button has rotated toward the user.

Yes, and 120 was chosen AIUI specifically to allow finer grained control 
later, the only reference to 120 is in the prose description, the actual 
this spec part of the page your referencing makes it clear it's just an int. 
This spec is now removing that possibility of finer grained control, and 
sticking with a magic default number, so even for wheelDelta I don't think 
it's right.

Cheers,

Jim. 
Received on Saturday, 24 June 2006 10:42:48 GMT

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