Index: Source/core/html/forms/TextFieldInputType.cpp |
diff --git a/Source/core/html/forms/TextFieldInputType.cpp b/Source/core/html/forms/TextFieldInputType.cpp |
index 807f2623d1cd28b3bfbb431cd43d1060fbc4538a..e7400a1368999f4ea19e879e9537fdc46170860a 100644 |
--- a/Source/core/html/forms/TextFieldInputType.cpp |
+++ b/Source/core/html/forms/TextFieldInputType.cpp |
@@ -222,6 +222,7 @@ void TextFieldInputType::handleKeydownEventForSpinButton(KeyboardEvent* event) |
spinButtonStepDown(); |
else |
return; |
+ spinButtonDispatchChangeEvent(); |
tkent
2014/01/17 02:19:20
Calling a SpinButtonOwner function here looks stra
|
event->setDefaultHandled(); |
} |
@@ -575,4 +576,9 @@ bool TextFieldInputType::shouldSpinButtonRespondToWheelEvents() |
return shouldSpinButtonRespondToMouseEvents() && element().focused(); |
} |
+void TextFieldInputType::spinButtonDispatchChangeEvent() |
+{ |
+ element().dispatchFormControlChangeEvent(); |
+} |
+ |
} // namespace WebCore |