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: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Tue, 04 Jan 2011 22:13:13 +0200
Message-ID: <4D237F59.3090503@helsinki.fi>
To: Doug Schepers <schepers@w3.org>
CC: Jacob Rossi <jrossi@microsoft.com>, "www-dom@w3.org" <www-dom@w3.org>
On 12/30/2010 06:10 AM, Doug Schepers wrote:
> Hi, Jacob-
>
> Jacob Rossi wrote (on 12/28/10 11:01 AM):
>>
>> On Fri, Dec 24, 2010 at 10:14 AM, Doug Schepers wrote:
>>
>>> I took the liberty of renaming 'inputLocale' to 'locale', since
>>> most developers prefer shorter, nonCamelCased names, and it
>>> seems equally descriptive.
>>
>> I think we had decided on inputLocale to be consistent with the
>> naming of inputMethod. :-)
>
> We had discussed it, but I don't recall a specific resolution either
> way. I don't consider consistency with 'inputMethod' as important as
> ease of use, since they aren't particularly related.

I'm pretty sure we agreed to have inputLocale.
And the reason was, I think, that the 'locale' refers to the
way the input was entered, not to the locale of the data in the
event.

-Olli


>
> Also, 'inputMethod' is only on Text events, while 'locale' is on several
> different interfaces.
>
> Regards-
> -Doug Schepers
> W3C Team Contact, SVG, WebApps, and Web Events WGs
>
>
Received on Tuesday, 4 January 2011 20:20:13 GMT

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