WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
45208
[chromium] Converting from MouseEvent to WebMouseEvent assigns ButtonLeft when no button has been pressed.
https://bugs.webkit.org/show_bug.cgi?id=45208
Summary
[chromium] Converting from MouseEvent to WebMouseEvent assigns ButtonLeft whe...
Gene Gutnik
Reported
2010-09-03 15:49:15 PDT
Bug is in WebKit/WebKit/chromium/src/WebInputEventConversion.cpp in WebMouseEventBuilder::WebMouseEventBuilder(). Currently, when no mouse button has been pressed, the result WebMouseEvent will have member button set to ButtonLeft. Code that converts button state should take into account the state of event.buttonDown() (see code below for modifiers conversion).
Attachments
Add attachment
proposed patch, testcase, etc.
Eugene Girard
Comment 1
2012-01-12 17:33:22 PST
After reviewing the code, it appears this issue has been addressed.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug