Re: parsing floating point values - user input for <input type="number"> in different locales

On Fri, 19 Jun 2009 00:17:05 +0200, Michael A. Puls II  
<shadow2531@gmail.com> wrote:

> In  
> <http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#rules-for-parsing-floating-point-number-values>  
> (used for <input type="number"> for example), the steps don't seem to  
> account for user input of a decimal in the field where "," is used  
> instead of "." depending on the locale.
>
> Is this covered anywhere or is it intended to only accept "." regardless  
> of locale?

The browser can use locale-specific conventions in the user interface.

-- 
Simon Pieters
Opera Software

Received on Friday, 19 June 2009 01:57:41 UTC