[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
Tue Sep 28 11:54:42 PDT 2010


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





--- Comment #10 from Darin Adler <darin at apple.com>  2010-09-28 11:54:42 PST ---
Thanks for doing the testing. I wasn’t able to understand the pattern given your list of test results. I can help you figure out how to implement a change once you describe the behavior you think we want.

Generally speaking, if preventDefault needs to prevent something, but that something should not be done in response to that event if it is DOM-created, then we need to either:

    1) Put some hidden state on the “real” event so that the defaultEventHandler function can tell what to do.

    2) Put the code to implement the behavior at the call site that sends the event rather than in the defaultEventHandler function. But to prevent EventHandler from becoming a giant god class we still may want to involve some virtual functions on the element involved.

There may possibly be a way to construct tests that could tell the difference between (1) and (2).

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