Index: Source/core/html/forms/WeekInputType.cpp |
diff --git a/Source/core/html/forms/WeekInputType.cpp b/Source/core/html/forms/WeekInputType.cpp |
index d164ff22f4cc445d6a09c757a9069ec8c925f8f8..62acb746036bb6ed65b96adea72fa2567ba0df7e 100644 |
--- a/Source/core/html/forms/WeekInputType.cpp |
+++ b/Source/core/html/forms/WeekInputType.cpp |
@@ -72,7 +72,7 @@ StepRange WeekInputType::createStepRange(AnyStepHandling anyStepHandling) const |
{ |
DEFINE_STATIC_LOCAL(const StepRange::StepDescription, stepDescription, (weekDefaultStep, weekDefaultStepBase, weekStepScaleFactor, StepRange::ParsedStepValueShouldBeInteger)); |
- const Decimal stepBase = parseToNumber(element().fastGetAttribute(minAttr), weekDefaultStepBase); |
+ const Decimal stepBase = findStepBase(weekDefaultStepBase); |
const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), Decimal::fromDouble(DateComponents::minimumWeek())); |
const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), Decimal::fromDouble(DateComponents::maximumWeek())); |
const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr)); |