Maximum number 12403946949000000 despite being set higher
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
People
(Reporter: porowns, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Firefox/60.0
Steps to reproduce:
Opened the following HTML:
<input value=12403946948999999 min="-9223372036854775808" max="9223372036854775807" type="number">
Actual results:
It displayed an integer input field with 12403946949000000.
Expected results:
It should have displayed an integer input field with 12403946948999999.
The output in Google Chrome is 12403946948999999. This is bad for some web frameworks because the maximum integer is 9223372036854775807 for BIGINT values across multiple databases.
Comment 1•5 years ago
|
||
This issue was reproduced on all the three main Firefox versions, on Windows 10 and Mac OS 10.14. Component set is (Core) HTML Parser. Please set a more appropriate one if incorrect. Thank you!
Updated•5 years ago
|
Updated•5 years ago
|
Updated•2 years ago
|
Description
•