Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 Area-Undefined

New issue 30862 by starinfi...@gmail.com: Numpad keycode/charcode does not  
register with javascript
http://code.google.com/p/chromium/issues/detail?id=30862

Chrome Version       : 4.0.276.0 (Developer Build 34953) Ubuntu
URLs (if applicable) : http://blog.pothoven.net/2008/05/keydown-vs-keypress-
in-javascript.html
Other browsers tested: Firefox 3.5
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 4:
   Firefox 3.x: OK
          IE 7:
          IE 8:

What steps will reproduce the problem?
1. Open the URL above
2. Click on form, turn off Num Lock and press Numpad keys - arrows, etc

http://www.quirksmode.org/dom/events/tests/keys.html
This test shows that keyup and keydown events are dispatched normally, but
event.charCode and event.keyCode are both 0's in case of numpad keys with
num lock off.

What is the expected result?

Numpad keys should return keyCodes like other keys do.

What happens instead?

Numpad keys events with num lock off do not have properly set keyCode
property.


Please provide any additional information below. Attach a screenshot if
possible.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to