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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:17 UTC