Re: Key Events internationalization

* Richard Ishida wrote:
>The DOM appendix A gives an example of pressing the key engraved with Q
>on a US physical kbd with a serbian mapping applied.  The example quotes
>the result as "keydown": "U+0409".  How is the implementation supposed
>to figure out that the appropriate identifier is U+0409, when all the
>tests I've done have returned the 81 (Q) result.

Your application is looking at the .keyCode and .charCode attributes;
those have yet to be specified and they are not part of the appendix.
Instead the appendix discusses the .keyIdentifier attribute.

>Does the implementation have tables for every keyboard mapping and
>every physical keyboard, and use those to map the codes coming from
>the keyboard into the right identifier?

I am not sure why an implementation of DOM Level 3 Events would, it
seems to me the keyboard mapping happens at a lower level. Could you
perhaps rephrase the question?
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Wednesday, 29 August 2007 20:22:26 UTC