W3C home > Mailing lists > Public > public-html@w3.org > June 2009

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

From: Simon Pieters <simonp@opera.com>
Date: Fri, 19 Jun 2009 03:57:01 +0200
To: "Michael A. Puls II" <shadow2531@gmail.com>, public-html@w3.org
Message-ID: <op.uvq01bpridj3kv@simon-pieterss-macbook.local>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:04 UTC