You can clone with
HTTPS or Subversion.
In Firefox (tested in 8.0.1) the following keys will give you an incorrect keypress event.key:
end gives you #
. gives you delete
' gives you right
( gives you down
There might be more. I didn't test the whole keyboard.
Thanks. I can reproduce it on a Mac keyboard US. What's your setup?
Also able to reproduce this in the Firefox (9.0) beta channel build. A lot (but not all) of the symbol keys seem to be incorrect.
The event.key property is only valid during keydown and keyup events.
What Sebastian said.
keypress events should pass a charCode value, which is a char that can be transformed with String.fromCharCode to a string representation.
Also see http://www.quirksmode.org/js/keys.html
hm, yeah, documentation could be a bit more clear about this.