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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 06 May 2011 09:27:17 -0400
Message-ID: <4DC3F735.80904@mit.edu>
To: www-dom@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:07 GMT