Index: Source/core/html/TextFieldInputType.cpp |
diff --git a/Source/core/html/TextFieldInputType.cpp b/Source/core/html/TextFieldInputType.cpp |
index 1cd61d6f22141388671d39ec4c24f4e1f61d1109..c8e15cb9b7906881bb23802c58ef0677dd38c32d 100644 |
--- a/Source/core/html/TextFieldInputType.cpp |
+++ b/Source/core/html/TextFieldInputType.cpp |
@@ -198,6 +198,12 @@ void TextFieldInputType::forwardEvent(Event* event) |
} |
} |
+void TextFieldInputType::handleFocusEvent(Element* oldFocusedNode, FocusDirection focusDirection) |
+{ |
+ InputType::handleFocusEvent(oldFocusedNode, focusDirection); |
+ element()->beginEditing(); |
+} |
+ |
void TextFieldInputType::handleBlurEvent() |
{ |
InputType::handleBlurEvent(); |