Index: Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
diff --git a/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp b/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
index a6797f4718cba2e9cb48718eef9a55f845925108..49b7737ba6c2b23622ce172b66c25411ea9d525a 100644 |
--- a/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
+++ b/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
@@ -370,7 +370,7 @@ void BaseMultipleFieldsDateAndTimeInputType::handleFocusEvent(Node* oldFocusedNo |
if (direction == FocusDirectionBackward) { |
if (element()->document()->page()) |
element()->document()->page()->focusController()->advanceFocus(direction, 0); |
- } else if (direction == FocusDirectionNone) { |
+ } else if (direction == FocusDirectionNone || direction == FocusDirectionMouse) { |
edit->focusByOwner(oldFocusedNode); |
} else |
edit->focusByOwner(); |
@@ -426,11 +426,6 @@ bool BaseMultipleFieldsDateAndTimeInputType::isKeyboardFocusable(KeyboardEvent*) |
return element()->isFocusable(); |
} |
-bool BaseMultipleFieldsDateAndTimeInputType::isMouseFocusable() const |
-{ |
- return element()->isFocusable(); |
-} |
- |
AtomicString BaseMultipleFieldsDateAndTimeInputType::localeIdentifier() const |
{ |
return element()->computeInheritedLanguage(); |