[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:42:45 PDT 2010


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





--- Comment #26 from Peter Kasting <pkasting at google.com>  2010-09-30 14:42:44 PST ---
(In reply to comment #25)
> Isn't the whole point of preventDefault to give authors the ability to provide custom handlers for events that would otherwise trigger native ones?

Not all native events can be prevented this way.  It's important for browsers to match each other's behavior so authors can write code that behaves the same on all browsers.  And it's secondarily important for there to be at least some kind of consistency in how mouse events are handled on one platform.

> If your proposed changes are implemented, he won't be able to do anything about it

Not quite true.  Autoscroll never triggers when nothing under the mouse is scrollable.  Many apps do their scrolling internally or are not scrollable at all, and in these situations there's no conflict.  I realize that's not all situations, but things are not as apocalyptic as you imply.

> What you are proposing will break mouse gestures extensions.

Other browsers (e.g. Firefox) implement this behavior and still have mouse gestures.  Chrome had mouse gesture extensions in the gallery before the patch you linked was checked into WebKit.  So I don't buy this argument.

And again, making the web platform behave equivalently across browsers is more important than what extension authors can or cannot do with the current set of APIs.  If we need to enable extension authors to do something, we'll find a way.

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