(was “Fixing the click event in browsers”)
While the UI Events (DOM Events L3) spec states that the click
event should only be fired for clicks from the “primary button” on the mouse (as well as other synthetic sources, such as touches and keyboard focus), it appears different browsers disagree on this behavior, specifically regarding middle-clicking.
WebKit has had a bug for this for over six years, but it still hasn’t been fixed (partially because the spec was still vague about which buttons should trigger click
when the issue was originally written).
What is the state of click
in the other browsers? Is it too late to fix this / too big to fix (akin to the many broken implementations of mouse wheel events)?