Bug 45208
| Summary: | [chromium] Converting from MouseEvent to WebMouseEvent assigns ButtonLeft when no button has been pressed. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Gene Gutnik <gene> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | gene, girard |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | All | ||
Gene Gutnik
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
After reviewing the code, it appears this issue has been addressed.