Re: Firing click from middle/right mouse clicks WAS: Thanks for participating on the DOM3 Events Call

On 10/24/13 10:12 AM, Glenn Maynard wrote:
> (I'm naively curious why they didn't fire a different "click" event name
> for their internal stuff that needed it on middle click, instead of
> introducing yet another bizarre glitch onto the Web.)

I think you have it backwards.

The DOM spec back when this was implemented in Gecko required firing 
clicks for all mouse clicks (and in fact the click event said which 
button got clicked).

When Gecko implemented the spec as written, this was discovered to be 
not compatible with web sites.  Note that the spec was somewhat 
abandonware at that point, in that the working group that had written it 
no longer existed.

So given that, Gecko implemented as minimal a spec violation as possible 
that was still compatible with sites.

Maybe we should have gone for a bigger spec violation, but please don't 
make it out like this was driven solely by "internal stuff".

-Boris

Received on Friday, 25 October 2013 05:10:03 UTC