Index: Source/core/html/shadow/DateTimeFieldElement.cpp |
diff --git a/Source/core/html/shadow/DateTimeFieldElement.cpp b/Source/core/html/shadow/DateTimeFieldElement.cpp |
index a302c5d116879d95f5c1436828fcd72b5930fe20..e9e221cc6d43f1e2cf362dd52edcf14403172a13 100644 |
--- a/Source/core/html/shadow/DateTimeFieldElement.cpp |
+++ b/Source/core/html/shadow/DateTimeFieldElement.cpp |
@@ -58,10 +58,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; |
} |