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

Ashley Sheridan ash at ashleysheridan.co.uk
Tue Apr 6 14:15:15 PDT 2010


On Tue, 2010-04-06 at 23:12 +0200, Mounir Lamouri wrote:

> Hi,
> 
> 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 ?
> 
> [1] http://dev.w3.org/html5/spec/forms.html#telephone-state
> 
> Thanks,
> --
> Mounir


I would assume that to mean that if a user enters a number with hyphens
to separate the different parts of the number (area code, state code,
country code, etc) then the UA could strip those out or re-format the
string?

Thanks,
Ash
http://www.ashleysheridan.co.uk


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100406/11042df6/attachment-0002.htm>


More information about the whatwg mailing list