Bug 224352 - [Win] Wrong KeyboardEvent.key for numeric key pad with NumLock
Summary: [Win] Wrong KeyboardEvent.key for numeric key pad with NumLock
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
Keywords: InRadar
Depends on:
Reported: 2021-04-08 18:17 PDT by Fujii Hironori
Modified: 2021-04-08 23:07 PDT (History)
2 users (show)

See Also:

Patch (5.57 KB, patch)
2021-04-08 18:31 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2021-04-08 18:17:58 PDT
[Win] Wrong KeyboardEvent.key for numeric key pad with NumLock

1. Connect your keyboard with a numeric key pad to your PC
2. Enable the NumLock key
3. Start Windows MiniBrowser
4. Go to https://w3c.github.io/uievents/tools/key-event-viewer.html
5. Press '8' key on the numeric key pad
6. 'ArrowUp' key event is dispatched

Expected: '8' key event is dispatched

This issue can be reproduced with Windows' On-Screen Keyboard by enabling a numeric key pad option.
Comment 1 Fujii Hironori 2021-04-08 18:31:59 PDT
Created attachment 425567 [details]
Comment 2 Fujii Hironori 2021-04-08 23:06:04 PDT
Comment on attachment 425567 [details]

Clearing flags on attachment: 425567

Committed r275750 (236328@main): <https://commits.webkit.org/236328@main>
Comment 3 Fujii Hironori 2021-04-08 23:06:07 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2021-04-08 23:07:15 PDT