Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #32940

Re: Right versus ArrowRight

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Right versus ArrowRight
Date 2017-04-05 15:10 +0200
Organization PointedEars Software (PES)
Message-ID <1778327.oMNUckLgyt@PointedEars.de> (permalink)
References <SMSdnTDHhcoz1XnFnZ2dnUU7-eHNnZ2d@westnet.com.au>

Show all headers | View raw


Andrew Poulos wrote:

> MDN says not to use keyCode
> <https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode>
> but when I test using key I find that Chrome and Firefox return
> "ArrowRight" for the right arrow key whereas Edge and IE return "Right".

The “key” attribute is specified in a 2017-02 W3C Working Draft only, in 
which “ArrowRight” is specified but which still refers to an earlier 2016-08 
Working Draft in which “ArrowRight” is also specified.  Both Working Drafts 
have an editor from Google and Microsoft each, so they should come to terms 
at some point.
 
-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Right versus ArrowRight Andrew Poulos <ap_prog@hotmail.com> - 2017-04-05 11:30 +1000
  Re: Right versus ArrowRight Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-04-05 15:10 +0200

csiph-web