- From: Simon Pieters <simonp@opera.com>
- Date: Mon, 09 May 2011 18:19:16 +0200
- To: www-dom@w3.org, "Doug Schepers" <schepers@w3.org>
On Fri, 06 May 2011 05:57:50 +0200, Doug Schepers <schepers@w3.org> wrote: > Hi, Simon- > > 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. 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 { ... } similarly to how HTML5 specifies legacy stuff; e.g. http://www.whatwg.org/specs/web-apps/current-work/complete/obsolete.html#other-elements,-attributes-and-apis > Thanks- > -Doug > > Doug Schepers wrote (on 5/5/11 4:02 PM): >> Hi, Hallvord- >> >> There is a good bit of contention whether the keyCode and charCode >> attributes should be added at all; either way, realistically, >> implementations probably aren't going to change. I would expect implementations to change if it gains compatibility/interoperability. >> As a compromise >> position, we've added this as an informative appendix in revision 1.182, >> using your text and tables. >> >> Please let us know if this satisfies your issue. >> >> http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#legacy-key-attributes >> >> >> >> Regards- >> -Doug Schepers >> W3C Team Contact, SVG, WebApps, and Web Events WGs >> cheers -- Simon Pieters Opera Software
Received on Monday, 9 May 2011 16:19:47 UTC