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

On Wed, 7 Apr 2010, Mounir Lamouri wrote:
> > 
> > Well the alternative is to not have the user agent change the value at 
> > all, in which case you still have to do server-side canonicalisation, 
> > so I don't think it really makes any difference.
> 
> If the UA is not changing the value, we are sure at least webpage 
> authors can easily specify how they want the telephone number to be 
> formatted and check it with pattern attribute (or use 
> setCustomValidity()).

If the author is doing the formatting, it's really not much better than a 
type=text field. The reason to have type=tel is to allow the UA to do that 
part of the work.


> I've opened bug 9439 about this issue.

Right-o.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 6 April 2010 16:08:47 UTC