W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2010

Re: [DOM3Events] keyCode and charCode

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 16 Sep 2010 00:43:40 -0700
Message-ID: <4C91CAAC.6040605@mit.edu>
To: Simon Pieters <simonp@opera.com>
CC: www-dom@w3.org
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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:16 UTC