Bug 224352

Summary: [Win] Wrong KeyboardEvent.key for numeric key pad with NumLock
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: PlatformAssignee: Fujii Hironori <Hironori.Fujii>
Status: RESOLVED FIXED    
Severity: Normal CC: don.olmstead, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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]
Patch
Comment 2 Fujii Hironori 2021-04-08 23:06:04 PDT
Comment on attachment 425567 [details]
Patch

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
<rdar://problem/76439277>