[Webkit-unassigned] [Bug 16972] in textarea ctrl+enter produces keypress event with keyCode=10, not 13
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 27 18:30:52 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=16972
--- Comment #9 from Erik Arvidsson <arv at chromium.org> 2009-10-27 18:30:52 PDT ---
(In reply to comment #8)
> (In reply to comment #7)
> > keypress should use the charCode (which is 13) .
>
> You disagree with above comments - could you please explain why you find them
> wrong?
I think the whole keypress issue is giving me too many sleepless nights.
The reason why I found it wrong was two reasons.
1. It is valuable to be able to do String.fromCharCode(event.keyCode) in a
keypress handler.
2. This is what Firefox does.
I think I'm starting to lean towards not touching keypress again and tell
people to only use keydown, keyup and textInput.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list