number field with decimal (Windows) 91.0.2
Categories
(Firefox :: Untriaged, defect)
Tracking
()
People
(Reporter: zorencen, Unassigned)
Details
Attachments
(1 file)
60.51 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Steps to reproduce:
Check number field with decimals on windows.
Actual results:
Check image attached
Expected results:
On Linux it works
Comment 2•3 years ago
|
||
Could you please provide some clearer steps on how to reproduce this issue?
Thanks.
(In reply to Hani Yacoub from comment #2)
Could you please provide some clearer steps on how to reproduce this issue?
Thanks.
Hi.
index.html
<html>
<head>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<div class="card-content">
<form class="new_cart" id="new_cart" action="congrats.html" accept-charset="UTF-8" method="get">
<div class="form-group">
<input value="37815.12605042017" class="form-control" type="number">
</div>
<div class="pull-right">
<input type="submit" value="Procesar pago" class="btn btn-info btn-lg btn-border" data-disable-with="Procesar pago">
</div>
</form>
</div>
</body>
</html>
congrats.html
<html>
<head>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<h3>Congrats!!!</h3>
</body>
</html>
Linux Mint: Firefox 92.0 Works
Windows 10: Firefox 92.0 Doesn't Works
Thanks!!!
Comment 4•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 5•3 years ago
|
||
It this what you are looking for?
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number#allowing_decimal_values
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number#validation
(In reply to Darkspirit from comment #5)
It this what you are looking for?
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number#allowing_decimal_values
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number#validation
Hi.
No, please check the code of the third comment. Why works on linux but the same code doesn't work on windows?
Comment 7•2 years ago
|
||
The attached code looks incomplete. Or more specifically, the code that's supposed to do the validation isn't even there.
I don't see anything actionable in here, or for that matter, any indication this is a bug on our end.
Description
•