[Webkit-unassigned] [Bug 46733] REGRESSION (r67261): Middle-mouse-release opens links regardless of "press" location

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 30 14:28:56 PDT 2010


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





--- Comment #25 from Brenton <webkit at appsforartists.com>  2010-09-30 14:28:56 PST ---
I disagree.

Isn't the whole point of preventDefault to give authors the ability to provide custom handlers for events that would otherwise trigger native ones?

Google and Apple both frequently grandstand about the web as a platform, where JavaScript apps can supplant desktop ones.  HTML 5 is supposed to enable us to do so much that we'll stop using platforms like Flash or Cocoa and start targeting the browser.

If you bind a native handler to the middle-mouse button that app creators cannot interrupt, that keeps them from using the middle-mouse button to trigger custom functionality.  Worse yet, auto-scroll only happens occasionally - if you are not on Windows or if the page is shorter than the window height, auto-scroll will not spawn.  If a creator is using another OS or a giant monitor, he can write an app that listens for middle-mouse events and not realize that Windows users are seeing auto-scroll.  If your proposed changes are implemented, he won't be able to do anything about it other than scrapping middle-mouse handling and finding a different way to implement the feature.

What you are proposing will break mouse gestures extensions.

-- 
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