[Webkit-unassigned] [Bug 22382] Middle click fires onclick event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 13 19:47:58 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=22382





--- Comment #29 from Darin Adler <darin at apple.com>  2010-06-13 19:47:54 PST ---
(In reply to comment #27)
> (In reply to comment #25)
> > > +    // For clicks by the non-left mouse button, Gecko doesn't dispatch the
> > > +    // event to the DOM.  However, we still want to call the default event
> > > +    // handler so that the we can open links in new tabs, etc.
> > 
> > This comment is oblique. It says what Gecko does, and then segues into what we will do. The implication is that we plan to do the same thing Gecko does, but no reason is given. In my mind this raises others questions, like what W3C specifications say we should do and what other browsers do. Is this just a Gecko/WebKit alignment, or something we have noticed and are would like to have match among all web browsers?
> 
> The W3C spec (that I found) was extremely vague.  Some of the Chromium folks looked at this a month or so ago.  Here's some background discussion from that thread if you're interested.

I think we should just write a comment saying what we do.

"Only clicks on the left mouse button trigger click events."

Then if we want to comment on other browser engines, we could, but I would mention both Gecko and Trident behavior.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list