New issue
Advanced search Search tips

Issue 871650 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

KeyboardEvent.key is not correct on pressing Ctrl + ¥

Reported by lin90162...@gmail.com, Aug 7

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce the problem:
1. Open https://example.com
2. Open DevTools and go to console
3. Run `document.addEventListener('keydown', console.log)`
4. Focus on the tab page
5. Press Ctrl + ¥

What is the expected behavior?
The value of `KeyboardEvent.key` for the keydown event is "¥"

What went wrong?
The value of `KeyboardEvent.key` for the keydown event is "|"

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 67.0.3396.99  Channel: n/a
OS Version: OS X 10.12.6
Flash Version: 

I'm using JP106 layout keyboard. I attached a screenshot of the wrong KeyboardEvent instance in DevTools console.
 
スクリーンショット 2018-08-07 14.02.30.png
79.8 KB View Download
Labels: Needs-Milestone
Components: Blink>Input
Cc: lanwei@chromium.org garykac@chromium.org
ccing garykac@chromium.org, lanwei@chromium.org,  who are more familiar with the issue.
Owner: lanwei@chromium.org
Status: Assigned (was: Unconfirmed)
Lan could you try this and see whether you can reproduce this issue or not?
Labels: -Pri-2 Pri-3

Sign in to add a comment