Issue metadata
Sign in to add a comment
|
<input type=number> does not allow commas where it should
Reported by
goo...@lanrules.de,
Mar 29 2016
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36 Example URL: https://jsfiddle.net/r6yw3kux/ Steps to reproduce the problem: 1. Have any form with input of type 'number' and step 'any' 2. Specify lang on the document, form, or the input to a language where comma is the decimal separator 3. (Optionally) also specify a pattern that allows commas What is the expected behavior? The user may use comma as a decimal separator What went wrong? Entering a comma is blocked Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes Chrome version: 48.0.2564.116 Channel: n/a OS Version: Flash Version: Even if one would not make the input locale-aware in general, at least the pattern parameter should take precedence to allow the comma.
,
Mar 30 2016
Note that the number type must not support "pattern" attribute according to the HTML specification. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by cbiesin...@chromium.org
, Mar 29 2016