DescriptionInput type Number maximum value increase
Number input type maximum value increased from float to double. Float allowed only max value of 3.402823466e38, it has now been increased to 1.7976931348623158e+308, by using double.
InvalidStateError exception is removed from NumberInputType::setValueAsDouble and NumberInputType::setValueAsDecimal, as HTMLInputType::setValueAsNumber checks if value is infinite.
As NumberInputType functions will not be called, they have been removed.
HTMLParserIdioms has also been updated as the functions are triggered in NumberInputType functions and has check for max values, thus updated.
R=tkent, ch.dumez@samsung.com
BUG=336020
TEST=Max value number can hold and exception thrown in case higher value than double is set
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168513
Patch Set 1 #
Total comments: 2
Patch Set 2 : Review comments fix #
Total comments: 2
Patch Set 3 : Updated comments in HTMLParserIdioms #
Total comments: 1
Patch Set 4 : Updated HTML5 section reference number with section link #Patch Set 5 : Adds back in StepRange FLT_MANT_DIG #
Total comments: 6
Patch Set 6 : Reverted back StepRange changes #Messages
Total messages: 21 (0 generated)
|