Re: Click event on button element when event targets of the associated mousedown and mouseup are different

On 5/6/11 5:50 AM, Olli Pettay wrote:
> DOM 2 Events specifies click event in a bit different way:
> "A click is defined as a mousedown and mouseup over the same screen
> location. " But the idea is still the same. "click" event is for a
> click, not random mousedown, mousemove, mousemove, mousemove, ..., mouseup.

This is somewhat orthogonal to the issue at hand, though, since the 
event targets for mousedown and mouseup can be different even if the 
mouse did not move.

-Boris

Received on Friday, 6 May 2011 13:43:35 UTC