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

convertKeyIdentifier (was: "keyIdentifier" Sucks)

From: Doug Schepers <schepers@w3.org>
Date: Tue, 22 Sep 2009 11:10:27 -0400
Message-ID: <4AB8E8E3.9070104@w3.org>
To: "www-dom@w3.org" <www-dom@w3.org>
Hi, Anne-

Please change the subject line if you change the subject...

Anne van Kesteren wrote (on 9/22/09 10:51 AM):
> On Tue, 22 Sep 2009 16:48:19 +0200, Travis Leithead
> <travil@microsoft.com> wrote:
>>> [*]Unicode (to provide easy access to the Unicode string?)
>> Scratch that last one--just noticed
>> DocumentEvent::convertKeyIdentifier...
> Should we really have such a method on document though? And what is the
> reason for using U+.... in the first place. Can't we just always return
> the Unicode scalar value?

The Unicode scalar value is the "U+xxxx" format (the code point).  You 
might have meant the character value.  We have already decided that the 
character value (if it exists) will be the attribute value.

There are potential use cases for getting each of the different formats 
(for example, for Unicode code points, making sure that a character is 
in a certain range, or presenting an advanced virtual keyboard, or 
signaling non-printing diacritics).

-Doug Schepers
W3C Team Contact, SVG and WebApps WGs
Received on Tuesday, 22 September 2009 15:18:34 UTC

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