W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

Re: [DOM3Events] keyCode and charCode [ISSUE-133]

From: Jacob Rossi <Jacob.Rossi@microsoft.com>
Date: Tue, 10 May 2011 05:41:33 +0000
To: "www-dom@w3.org" <www-dom@w3.org>, "simonp@opera.com" <simonp@opera.com>, "schepers@w3.org" <schepers@w3.org>
CC: "hallvord@opera.com" <hallvord@opera.com>
Message-ID: <D0BC8E77E79D9846B61A2432D1BA4EAE0293B017@TK5EX14MBXC116.redmond.corp.microsoft.com>
I'm fine with putting this back to being supplemental given the additional spec text. 

However, to be clear, Microsoft has no intentions in the near future of changing our keyCode/charCode behavior. We'll keep our existing implementation for legacy compat support. Going forward, key/char are our recommended APIs.



From: Simon Pieters <simonp@opera.com> 
Date: Mon, 09 May 2011 19:10:46 +0200
 To: www-dom@w3.org, "Doug Schepers" <schepers@w3.org> 
Cc: "Hallvord R. M. Steen" <hallvord@opera.com> 
Message-ID: <op.vu74n8b1idj3kv@simon-pieterss-macbook.local> 

On Mon, 09 May 2011 18:53:39 +0200, Doug Schepers <schepers@w3.org> wrote:

> Hi, Simon-
> Simon Pieters wrote (on 5/9/11 12:19 PM):
>> On Fri, 06 May 2011 05:57:50 +0200, Doug Schepers <schepers@w3.org>  
>> wrote:
>>> It seems you were the original poster for ISSUE-133, adding keyCode
>>> and charCode:
>>> http://www.w3.org/2008/webapps/track/issues/133
>>> I've followed Hallvord's suggestion (see below)... could you please
>>> let us know if this satisfies you, as well?
>> I would be happier if it were normative, but I'm not going to object.
> Understood.
>> I don't see browsers implementing LegacyKeyboardEvent as an interface
>> that extends KeyboardEvent, since this would cause all keyboard events
>> to show up as "legacy" in debuggers and elsewhere. It seems better to
>> specify it as
>> [Supplemental]
>> interface KeyboardEvent {
>> ...
>> }
> That's (more or less) how I had it originally, but got feedback asking  
> to make it distinct from the KeyboardEvent interface.  I've now changed  
> it back to being supplemental, per your suggestion, and simply made the  
> distinction clear in the prose.
> http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#KeyboardEvent-supplemental-interface

Thank you.

Simon Pieters
Opera Software
Received on Tuesday, 10 May 2011 05:42:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:07 GMT