[Webkit-unassigned] [Bug 32303] New: Middle-mouse button not firing mousedown DOM event when autoscroll happens
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 8 21:39:23 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=32303
Summary: Middle-mouse button not firing mousedown DOM event
when autoscroll happens
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows Vista
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: webkit at appsforartists.com
In Chrome and Safari on Windows, middle-clicking only dispatches a MouseEvent
if auto-scroll doesn't spawn. Firefox, IE, and Opera dispatch the mousedown
event, even if they support and spawn autoscroll. The Mac versions of Chrome
and Safari don't spawn autoscroll, and they dispatch the event properly.
Steps to reproduce:
1. Navigate to a page with a scrollbar.
2. Open the JavaScript console and enter the following:
addEventListener('mousedown', function(event) { console.log(event.button) } );
3. Middle-click on the page
Expected result:
'1' is traced in the JavaScript console. If event.preventDefault() is not
called, the scroll arrows appear.
Actual result:
The auto-scroll arrows appear, but no event is dispatched.
This has been tested in Chrome 4.0.249.30, Safari 4.0.3, and the Windows WebKit
nightly. Each fails.
--
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