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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 30 16:09:50 PDT 2007


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





------- Comment #9 from oliver at apple.com  2007-10-30 16:09 PDT -------
(In reply to comment #8)
> Well, aside from changing the whole set of keyCodes to be "correct", at the
> very least it makes sense to have consistent keyCodes between the Windows and
> Mac versions.  As was pointed out, for non-printable keys on keypress, the two
> versions produce different keyCodes.  Are there any plans to change this?
> 
The problem with keyCode/charCode is that they are platform specific, there is
no "correct" value -- you really are much better off using the DOM3
keyIdentifier property.

That said, yes we do intend to get the two platforms as close as is technically
possible, but the fact that keyCode/keyDown is platform (possibly even
hardware) specific means that there is no guarantee that it will ever be
possible to make the two match exactly.


-- 
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