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

Ian Hickson ian at hixie.ch
Tue Apr 6 16:08:47 PDT 2010

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.


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

More information about the whatwg mailing list