Index: Source/core/html/shadow/DateTimeFieldElement.cpp |
diff --git a/Source/core/html/shadow/DateTimeFieldElement.cpp b/Source/core/html/shadow/DateTimeFieldElement.cpp |
index fd10cad7ee78269ee2e6bf3a7c07fe2332191773..a1ebb0905fa5c7a16aef15391bafe3279723154d 100644 |
--- a/Source/core/html/shadow/DateTimeFieldElement.cpp |
+++ b/Source/core/html/shadow/DateTimeFieldElement.cpp |
@@ -64,10 +64,15 @@ void DateTimeFieldElement::defaultEventHandler(Event* event) |
KeyboardEvent* keyboardEvent = toKeyboardEvent(event); |
if (!isDisabled() && !isFieldOwnerDisabled() && !isFieldOwnerReadOnly()) { |
handleKeyboardEvent(keyboardEvent); |
- if (keyboardEvent->defaultHandled()) |
+ if (keyboardEvent->defaultHandled()) { |
+ if (m_fieldOwner) |
+ m_fieldOwner->fieldDidChangeValueByKeyboard(); |
return; |
+ } |
} |
defaultKeyboardEventHandler(keyboardEvent); |
+ if (m_fieldOwner) |
+ m_fieldOwner->fieldDidChangeValueByKeyboard(); |
if (keyboardEvent->defaultHandled()) |
return; |
} |