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

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

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 6 Apr 2010 22:37:42 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1004062236100.4065@ps20323.dreamhostps.com>
On Tue, 6 Apr 2010, Mounir Lamouri wrote:
> 
> For input element in telephone state [1] specs say "User agents may 
> change the punctuation of values that the user enters." I do not really 
> get it. What is the idea ?

For example, if I enter "1 650 253-0000", the user agent is allowed to 
change that to "+1 (650) 253 0000" or "16502530000" or "+1 (650) 
253-0000". This is because such reformatting is common practice in 
telephone number entry fields.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 6 April 2010 15:37:42 UTC

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