W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2011

Re: Added 'locale' to Text, Keyboard, and Composition Events [ISSUE-119]

From: Aharon (Vladimir) Lanin <aharon@google.com>
Date: Thu, 6 Jan 2011 09:03:15 +0200
Message-ID: <AANLkTimFpy=gT0UepQ9xvcXkh1_5L7cYjf-JLxy0XG+5@mail.gmail.com>
To: Doug Schepers <schepers@w3.org>
Cc: "www-dom@w3.org" <www-dom@w3.org>
Thanks, looks great.

On Thu, Jan 6, 2011 at 4:04 AM, Doug Schepers <schepers@w3.org> wrote:

> Hi, Aharon-
>
> Aharon (Vladimir) Lanin wrote (on 12/26/10 2:19 AM):
>
>  Great, thank you!
>>
>> One tweak, though. The description for locale in keyboard events is
>> identical to the one in text events, i.e.:
>>
>> "The locale attribute contains a BCP-47 tag [BCP-47] indicating the
>> locale for which the origin of the event (whether keyboard, IME,
>> handwriting recognition software, or other input mode) is configured,
>> e.g. "en-US". May be the empty string when inapplicable or unknown, e.g.
>> for pasted text, or when this information is not exposed by the
>> underlying platform."
>>
>> Some of this is inappropriate to keyboard events, though (I think):
>>
>>    * "origin of the event (whether keyboard, IME, handwriting
>>      recognition software, or other input mode)": shouldn't this be
>>      just "keyboard"?
>>    * "when inapplicable or unknown, e.g. for pasted text": keyboard
>>      events can not be generated by pasting text, can they? This phrase
>>      should probably be just omitted, yielding something like: "May be
>>      the empty string when unknown, e.g. when this information is not
>>      exposed by the underlying platform."
>>
>> I am less familiar with composition events, but some of these remarks
>> may apply there as well.
>>
>
>
> Good catch... I was making several changes, and got sloppy with the
> copy-paste. (Unfortunately, there is no key event attribute that catches
> that. ^_^)
>
> I have updated the spec, and I hope it's more to your liking.
>
>
> Regards-
> -Doug Schepers
> W3C Team Contact, SVG, WebApps, and Web Events WGs
>
Received on Thursday, 6 January 2011 07:07:05 GMT

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