REGRESSION(r117738) [Forms] Default step base should be 0 (=1970-01) for input type...
authoryosin@chromium.org <yosin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jul 2012 09:47:28 +0000 (09:47 +0000)
committeryosin@chromium.org <yosin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jul 2012 09:47:28 +0000 (09:47 +0000)
commit4bf6c3936b5d11d7d4fc8a19d5bd0740c3da20d0
treeee3a0b953c74d6a06f1392a55267b97eeb9fa698
parent18cb492ad0adf2065b3e121c3aadd7aca0b74de5
REGRESSION(r117738) [Forms] Default step base should be 0 (=1970-01) for input type month
https://bugs.webkit.org/show_bug.cgi?id=91603

Reviewed by Kent Tamura.

This patch restores default step base value to 0 (=1970-01) as before
r117738.

No new tests. Existing test(fast/forms/month/month-stepup-stepdown-from-renderer.html)
covers this case, although it is disabled.

* html/MonthInputType.cpp:
(WebCore::MonthInputType::createStepRange): Changed default value of
step base to defaultMonthStepBase instead of DateComponents::minimumMonth().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@122937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/MonthInputType.cpp