Index: Source/core/html/forms/CheckboxInputType.cpp |
diff --git a/Source/core/html/forms/CheckboxInputType.cpp b/Source/core/html/forms/CheckboxInputType.cpp |
index db0555974f4fcfcc75adda79802acdc9e9a90e10..b6a4d57a2aef6acda04cac81be90aadcb364c730 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. |