[Webkit-unassigned] [Bug 15173] Middle click should not fire onclick event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 27 21:55:20 PDT 2008


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





------- Comment #18 from eric at webkit.org  2008-06-27 21:55 PDT -------
(In reply to comment #17)
> Actually.  My patch just breaks middle-click-to-open-links entirely.  I guess
> the "middle click to open links" behavior depends on there being a click event.
>   Sigh.

Yeah, of course it does.  We do navigation based on
HTMLAnchorElement::defaultEventHandler.  I'm not sure why I ever thought this
would work.  I guess the test case is still useful, but there is no easy way
for us to replicate FF/IE behavior here.  I think we should scratch this patch
and implement a better "window.open opens in new tab if called from a
middle-click" behavior.  However I bet that's a Safari change more than a
WebKit change.


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



More information about the webkit-unassigned mailing list