| Index: Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp
|
| diff --git a/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp b/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp
|
| index 2119202bf5c6ceefacc728138e39d099a90e387c..8dce88479393e8d908688caead0aaef4cab31009 100644
|
| --- a/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp
|
| +++ b/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp
|
| @@ -262,6 +262,15 @@ void BaseMultipleFieldsDateAndTimeInputType::pickerIndicatorChooseValue(const St
|
| edit->setOnlyYearMonthDay(date);
|
| }
|
|
|
| +void BaseMultipleFieldsDateAndTimeInputType::pickerIndicatorChooseValue(double value)
|
| +{
|
| + ASSERT(std::isfinite(value) || std::isnan(value));
|
| + if (std::isnan(value))
|
| + element().setValue(emptyString(), DispatchInputAndChangeEvent);
|
| + else
|
| + element().setValueAsNumber(value, ASSERT_NO_EXCEPTION, DispatchInputAndChangeEvent);
|
| +}
|
| +
|
| bool BaseMultipleFieldsDateAndTimeInputType::setupDateTimeChooserParameters(DateTimeChooserParameters& parameters)
|
| {
|
| return element().setupDateTimeChooserParameters(parameters);
|
|
|