| Index: Source/core/html/forms/NumberInputType.cpp
|
| diff --git a/Source/core/html/forms/NumberInputType.cpp b/Source/core/html/forms/NumberInputType.cpp
|
| index 152df244f7ee0c6a3046a1a7aa7a61b165bb9231..06bbe4c24c3d351c64f20a7e7a637d9b991f9de8 100644
|
| --- a/Source/core/html/forms/NumberInputType.cpp
|
| +++ b/Source/core/html/forms/NumberInputType.cpp
|
| @@ -165,7 +165,7 @@ bool NumberInputType::typeMismatch() const
|
| StepRange NumberInputType::createStepRange(AnyStepHandling anyStepHandling) const
|
| {
|
| DEFINE_STATIC_LOCAL(const StepRange::StepDescription, stepDescription, (numberDefaultStep, numberDefaultStepBase, numberStepScaleFactor));
|
| - const Decimal stepBase = parseToDecimalForNumberType(element().fastGetAttribute(minAttr), numberDefaultStepBase);
|
| + const Decimal stepBase = findStepBase(numberDefaultStepBase);
|
| // FIXME: We should use numeric_limits<double>::max for number input type.
|
| const Decimal floatMax = Decimal::fromDouble(numeric_limits<float>::max());
|
| const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), -floatMax);
|
|
|