W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2002

RE: DOM events - mousewheel?

From: Brad Pettit <bradp@microsoft.com>
Date: Wed, 17 Apr 2002 13:02:17 -0700
Message-ID: <3013537455C0D1459746B2AE2DF47AEA0521F188@svc-msg-01.northamerica.corp.microsoft.com>
To: "jonathan chetwynd" <j.chetwynd@btinternet.com>, "Philippe Le Hegaret" <plh@w3.org>, "Dmitry Kirsanov" <dmitry@kirsanov.com>, <www-dom@w3.org>
>jonathan chetwynd wrote:
>The fact is they are different, riding a bike and turning the lights off are
>very different types of action.
>So that we can design systems that enable button users to travers hundreds
>of clicks swiftly, and wheel users to migrate slowly.

Just as the "hover" pseudoclass doesn't require the node to have focus, neither does mousewheel. In fact, one could say it's an event that is usually applied to the hovered element.

"mousewheel" is as deserving of a separate MouseEvent as click or any of the others; tying it too closely to "scroll" would be a mistake in my opinion.

A "wheel" variation of MouseEvent, perhaps with gradations of 1 instead of 120, seems like a great idea.

Brad Pettit
Microsoft Corp.
Received on Wednesday, 17 April 2002 16:02:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:10 UTC