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

Re: Proposal for mousewheel events

From: Sjoerd Visscher <sjoerd@w3future.com>
Date: Mon, 10 Apr 2006 14:32:44 +0200
Message-ID: <443A506C.2080606@w3future.com>
To: public-webapi@w3.org

Sjoerd Visscher wrote:
>> On the other, I am concerned that the synchronization of diagonal 
>> movement
>> will be extremely hard to manage in script in a situation where the 
>> author
>> wants to capture both as part of the same event. Can someone describe how
>> this could easily be done with this proposal? It seems easier to set the
>> value of one or the other to 0, if cancelling them is desired, than it 
>> would
>> be to join together 2 separate events.
> This could simply be solved by not allowing a redraw between the 2 events.

I just checked and this is just like onmouseup and onclick, there is no 
redraw between those events in Firefox and IE.

F.e. if you make the body background black in onmouseup, then start a 
calculation in onclick that takes a while, and at the end set the 
background back to white, you'll never see a black background.

(Opera doesn't seem to have the concept of single threaded javascript at 

Sjoerd Visscher
Received on Monday, 10 April 2006 12:33:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC