Index: Source/core/html/forms/TimeInputType.cpp |
diff --git a/Source/core/html/forms/TimeInputType.cpp b/Source/core/html/forms/TimeInputType.cpp |
index cc135bd2e8a7c510ff034cf64899e6a2dea1a1b0..c3eccd71267bceb9cd56cc8ed31497cc87f742d3 100644 |
--- a/Source/core/html/forms/TimeInputType.cpp |
+++ b/Source/core/html/forms/TimeInputType.cpp |
@@ -95,7 +95,7 @@ StepRange TimeInputType::createStepRange(AnyStepHandling anyStepHandling) const |
{ |
DEFINE_STATIC_LOCAL(const StepRange::StepDescription, stepDescription, (timeDefaultStep, timeDefaultStepBase, timeStepScaleFactor, StepRange::ScaledStepValueShouldBeInteger)); |
- const Decimal stepBase = parseToNumber(element().fastGetAttribute(minAttr), 0); |
+ const Decimal stepBase = findStepBase(0); |
const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), Decimal::fromDouble(DateComponents::minimumTime())); |
const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), Decimal::fromDouble(DateComponents::maximumTime())); |
const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr)); |