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

Re: ACTION-91: mousewheel event

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 13 Mar 2006 15:48:46 -0800
Message-ID: <441604DE.6050800@sicking.cc>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: Anne van Kesteren <annevk@opera.com>, "Web APIs WG (public)" <public-webapi@w3.org>

Bjoern Hoehrmann wrote:
> * Anne van Kesteren wrote:
>> Here is some text for a mousewheel event per our latest telcon. We decided  
>> to postpone discussing multiple directions or multiple input devices for  
>> now (ISSUE-33). It is unclear to me whether my action included drafting up  
>> the interface or not so I left that out for now...
>>
>>  mousewheel
>>    The mousewheel event MUST be dispatched on the currently
>>    focused object when the user uses his mouse wheel or uses a
>>    device that achieves similar effects as mouse wheels
>>    according to platform conventions or environment
>>    configuration.
> 
> The event is dispatched to the primary subject of user interaction
> relative to the input device. This may be the focused event target,
> it may also be some other component of the user interface. Which
> event target exactly depends on platform conventions. For example,
> if a <select> is active, rotating the wheel is likely to scroll the
> list, regardless of where the cursor is; if, on the other hand, a
> simple text <input> is active, the event is dispatched to the event
> target under the cursor.

Which Node to dispatch the event to I think should be left up to the UA. 
I previously brought up the example that some mouse drivers will let you 
choose if you want to scroll what currently has key-focus or what 
currently is under the mouse-pointer. Another example is when you have a 
scrollable view inside another scrollable view. In some UAs when you 
hover the inner view and "wheel" down that will scroll the inner view 
until it is at the bottom and then scroll the outer view.

/ Jonas
Received on Monday, 13 March 2006 23:49:06 GMT

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