[Bug 23240] Normatively specify that right/middle mouse button presses do not cause click/dblclick events

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23240

Simon Pieters <simonp@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simonp@opera.com

--- Comment #5 from Simon Pieters <simonp@opera.com> ---
(In reply to Glenn Maynard from comment #2)
> The developer needs to check if e.button == 0.  Developers already need to
> do this, or they'll misbehave when the user right clicks.
> 
> Click events should only have fired for left clicks in the first place
> (failing to check .button is one of the most common scripting bugs I've
> seen--even YouTube screws this up, right in the search results), but it
> doesn't make much sense for right click to fire clicks but not middle click.

Yeah, so then we shouldn't fire click for right click either.

> Browsers have fired click for right-click for a long time.  If it was
> web-compatible to simply stop doing that, I think browsers would have made
> that change years ago.

Presto doesn't fire click for right click.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 14 September 2013 19:21:32 UTC