Closed Bug 1208923 Opened 10 years ago Closed 10 years ago

[digit][dot] is not a valid number for <input type="number"> on comma-locales while [digit][dot][digit] is valid

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1099103
Tracking Status
firefox44 --- affected

People

(Reporter: arni2033, Unassigned)

Details

Attachments

(1 file)

0. Download and install russian localization of Aurora 43 1. Open attached page with <input type="number"> with no "lang" attribute 2. Type "5." in <input>, press Enter [you'll see popup saying "Please enter a number"] 3. Type "0" [you'll get "5.0" in <input>] 4. Press Enter. Result: "5." doesn't pass validation in Step 2. Expectations: In russian locale "." is group separator ("1.000" is one thousand), but it's allowed to use "." as a decimal separator, so "5.0" is valid. And I expect "5." in russian locale to be valid, just like it is valid in english locale.
Flags: needinfo?(jwatt)
This is bug 1099103.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(jwatt)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: