Index: Source/core/html/HTMLFormControlElement.cpp |
diff --git a/Source/core/html/HTMLFormControlElement.cpp b/Source/core/html/HTMLFormControlElement.cpp |
index 0265f9421acd5def9f3258f4bca7aabb25e9095d..972e53b6f9b4975086905a5e5980f6ea6d4029a4 100644 |
--- a/Source/core/html/HTMLFormControlElement.cpp |
+++ b/Source/core/html/HTMLFormControlElement.cpp |
@@ -284,9 +284,14 @@ void HTMLFormControlElement::setChangedSinceLastFormControlChangeEvent(bool chan |
m_wasChangedSinceLastFormControlChangeEvent = changed; |
} |
+void HTMLFormControlElement::dispatchChangeEvent() |
+{ |
+ dispatchScopedEvent(Event::createBubble(EventTypeNames::change)); |
+} |
+ |
void HTMLFormControlElement::dispatchFormControlChangeEvent() |
{ |
- HTMLElement::dispatchChangeEvent(); |
+ dispatchChangeEvent(); |
setChangedSinceLastFormControlChangeEvent(false); |
} |