Bug 32983
| Summary: | Set PlatformKeyboardEvent::isKeypad true if NSNumericPadKeyMask is set on Mac | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kinuko Yasuda <kinuko> |
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | darin, estade, hbono |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
Kinuko Yasuda
Currently we set PlatformKeyboardEvent::isKeypad true only if given keycode is one of Clear, /=+- or Numeric keypad keys (from 82(0) to 92(9)). Probably we should also return true if NSNumericPadKeyMask is set to correctly reflect the keyboard event location (for example, we may get PageDown key event with and without NSNumericPadKeyMask, but currently we have no way to distinguish both).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Kinuko Yasuda
This one was once separated from bug 32602, but merging back to it because we cannot test this one in the layout tests without changing EventSender.
Sorry for the confusion and please let me know if I should separate this one again.
*** This bug has been marked as a duplicate of bug 32602 ***