| Index: Source/core/html/forms/RangeInputType.cpp
|
| diff --git a/Source/core/html/forms/RangeInputType.cpp b/Source/core/html/forms/RangeInputType.cpp
|
| index 60e07292737398b4dbfb0a7e2911885d01fe5037..e9f60deb091cbd2698a85a62b70df9dc2cd371f6 100644
|
| --- a/Source/core/html/forms/RangeInputType.cpp
|
| +++ b/Source/core/html/forms/RangeInputType.cpp
|
| @@ -128,12 +128,6 @@ StepRange RangeInputType::createStepRange(AnyStepHandling anyStepHandling) const
|
| const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), rangeDefaultMinimum);
|
| const Decimal maximum = ensureMaximum(parseToNumber(element().fastGetAttribute(maxAttr), rangeDefaultMaximum), minimum, rangeDefaultMaximum);
|
|
|
| - const AtomicString& precisionValue = element().fastGetAttribute(precisionAttr);
|
| - if (!precisionValue.isNull()) {
|
| - const Decimal step = equalIgnoringCase(precisionValue, "float") ? Decimal::nan() : 1;
|
| - return StepRange(stepBase, minimum, maximum, step, stepDescription);
|
| - }
|
| -
|
| const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr));
|
| return StepRange(stepBase, minimum, maximum, step, stepDescription);
|
| }
|
|
|