Re: [DOM3Events] keyCode and charCode

On 9/16/10 12:19 AM, Simon Pieters wrote:
> Please specify keyCode and charCode, even if marked as 'obsolete'.

Agreed.  These do need to be specified, for web compat.

> I'm pretty sure no browser is going to ship without at least one of them. (I
> notice that charCode is undefined in Opera, keyCode always returns 0 in
> Firefox, and in WebKit they both work.)

keyCode works fine in Firefox with US keyboard layouts.  Other keyboard 
layouts may not work, though.

-Boris

Received on Thursday, 16 September 2010 07:44:14 UTC