[Webkit-unassigned] [Bug 15232] keyCode/charCode/which not reported correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 18 11:34:06 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15232





------- Comment #2 from erik.arvidsson at gmail.com  2007-09-18 11:34 PDT -------
IE has a slightly different semantics but following Gecko seems to be the right
thing to do.

IE only fires keypress for events for printable characters. So a you will not
get a keypress event for <shift>

IE does not implement which or charCode. It uses keydown/keypress to
distinguish printable characters. The keyCode is the same for 'p' and 'P'.

Another annoyance is the way the events repeats when holding down the key is
different on different platforms. 

IE: keydown repeat
IE: keypress does not repeat
Gecko on Win32: keydown repeat
Gecko on Win32: keypress does not repeat 
Gecko on Mac: keydown does not repeat
Gecko on Mac: keypress repeat 


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list