RESOLVED FIXED36797
For non-Roman layouts, keydown Event.keyCode is always 0
https://bugs.webkit.org/show_bug.cgi?id=36797
Summary For non-Roman layouts, keydown Event.keyCode is always 0
Alexey Proskuryakov
Reported 2010-03-29 17:46:44 PDT
We're using character code to synthesize Windows virtual key code, which makes no sense for alphabetical keys because keyCode shouldn't depend on keyboard layout. This also doesn't match IE. As a result, keyCode is always zero for alphabetical keys for non-Roman layouts, such as e.g. Russian.
Attachments
Alexey Proskuryakov
Comment 1 2010-03-30 13:03:24 PDT
Alexey Proskuryakov
Comment 2 2010-03-30 13:21:19 PDT
Some more info for posterity: this fix was to match IE and Safari on Windows, as well as common sense. Firefox (at least on Mac) seems to have the same bug of giving a zero keyCode.
Note You need to log in before you can comment on or make changes to this bug.