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

Re: ISSUE-30: mousewheel event

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Fri, 24 Feb 2006 16:55:09 -0500
Message-ID: <43FF80BD.9040302@earthlink.net>
To: Web APIs WG <public-webapi@w3.org>

Web APIs Issue Tracker wrote:

> Raised by: Anne van Kesteren
> On product: DOM3EV
> 
> We should probably add something like the mousewheel event to DOM Level 3
> Events. There is some additional information in ACTION-27. Also in
> http://lists.w3.org/Archives/Member/member-webapi/2006Feb/0020 where I state
> that there are at least two implementations of mousewheel. (Mozilla has
> DOMMouseScroll.)

   IE uses the highly device-specific name "onmousewheel". (Will just
"mousewheel" work in IE?) Near as I can tell, Safari supports the IE
name. I can't find any information about what Opera supports.

   I really don't like "mousewheel", because it assumes a specific
physical interface. "DOMMouseScroll" seems odd to me, because the "DOM"
prefix usually applies to events involving mutation or UI. The "scroll"
event already covers other types of scrolling, so there's no need for a
"DOMScroll" event.

   I'm thinking that the best name would be "mousescroll". That said,
using "mousewheel" or "DOMMouseScroll" would allow for faster adoption.
Much as I don't like IE, I'd admit that "mousewheel" is the easier of
the two to remember.
Received on Friday, 24 February 2006 21:55:07 GMT

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