W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2010

[whatwg] Changing punctuation value of input element in telephone state

From: Mounir Lamouri <mounir.lamouri@gmail.com>
Date: Wed, 07 Apr 2010 01:21:39 +0200
Message-ID: <4BBBC203.4010600@gmail.com>
On 04/07/2010 01:18 AM, Tab Atkins Jr. wrote:
> On Tue, Apr 6, 2010 at 4:13 PM, Mounir Lamouri <mounir.lamouri at gmail.com> wrote:
>> As Davis said, there are too many phone numbers format out there so we
>> can't let the UA do a formatting because it will be a bad one in most of
>> the cases. For example, in France, we use 2-digit blocks but in the US
>> people write 3-digit or 4-digit blocks.
>> Maybe the telephone type can be like the search one and be here only for
>> styling ?
> 
> Mobile phones seem to get by ok with restyling the phone numbers you
> type into them.  If you want to emulate that in your app (or
> conversely, if you want to create a phone UI in HTML5), you'll need
> the freedom to restyle the phone number in that way.
> 
> Of course, I'm from the US, and don't know if someone from another
> country is annoyed at all the US-centric phone-number formatting their
> phone is automatically doing.

When I was using MacOS X, I hated how the contact application was
restyling my phone numbers.
By the way, it lets me think about something: the telephone state can
still be used for autocomplete with phones from contacts.

--
Mounir
Received on Tuesday, 6 April 2010 16:21:39 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:22 UTC