Index: Source/core/html/forms/DateTimeLocalInputType.cpp |
diff --git a/Source/core/html/forms/DateTimeLocalInputType.cpp b/Source/core/html/forms/DateTimeLocalInputType.cpp |
index ff8b66703e62722d7c32125b39455b6eeab6244b..9ad29fa594a5797fab7c5cdc3ae43682302e451e 100644 |
--- a/Source/core/html/forms/DateTimeLocalInputType.cpp |
+++ b/Source/core/html/forms/DateTimeLocalInputType.cpp |
@@ -86,7 +86,7 @@ StepRange DateTimeLocalInputType::createStepRange(AnyStepHandling anyStepHandlin |
{ |
DEFINE_STATIC_LOCAL(const StepRange::StepDescription, stepDescription, (dateTimeLocalDefaultStep, dateTimeLocalDefaultStepBase, dateTimeLocalStepScaleFactor, 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::minimumDateTime())); |
const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), Decimal::fromDouble(DateComponents::maximumDateTime())); |
const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr)); |