<input type=number> with step 0.1: decimal separator local de is "." instead of ","
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr68 | --- | unaffected |
| firefox73 | --- | unaffected |
| firefox74 | --- | wontfix |
| firefox75 | --- | fixed |
| firefox76 | --- | fixed |
People
(Reporter: gateway2mobil, Unassigned)
References
(Regression)
Details
(Keywords: intl, regression)
Attachments
(1 file)
|
189 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0
Steps to reproduce:
Windows 10
Local: German (de-DE)
Firefox 74.0
<input type=number> with step 0.1: decimal separator local de is "." instead of ","
In Firefox 73 it works as expected.
Exmaple-Code:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<input type="number" id="test" lang="de" min="1" value="45.8" max="120" step="0.1"/>
</body>
</html>
Actual results:
Firefox 74 result: 45.8 (not ok)
Expected results:
Firefox 73 result: 45,8 (ok)
Comment 1•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Comment 3•6 years ago
|
||
I think this matches other browsers, and was a sorta intentional change... Users can still write localized numbers, but .value is kept as a string.
Updated•6 years ago
|
Updated•6 years ago
|
Description
•