Index: Source/core/html/forms/CheckboxInputType.cpp |
diff --git a/Source/core/html/forms/CheckboxInputType.cpp b/Source/core/html/forms/CheckboxInputType.cpp |
index f7652279ecfa1dbe1b0c52e0349163da4b7b419c..1bdbcf4315c5e7cf54ca49c49c2751c4e7c5c6c3 100644 |
--- a/Source/core/html/forms/CheckboxInputType.cpp |
+++ b/Source/core/html/forms/CheckboxInputType.cpp |
@@ -91,6 +91,8 @@ void CheckboxInputType::didDispatchClick(Event* event, const ClickHandlingState& |
if (event->defaultPrevented() || event->defaultHandled()) { |
element().setIndeterminate(state.indeterminate); |
element().setChecked(state.checked); |
+ } else { |
+ element().dispatchChangeEventIfNeeded(); |
} |
// The work we did in willDispatchClick was default handling. |