Index: Source/core/html/HTMLTextFormControlElement.cpp |
diff --git a/Source/core/html/HTMLTextFormControlElement.cpp b/Source/core/html/HTMLTextFormControlElement.cpp |
index c3f751a63f54d4eb643bdb97275b0ecbe1ae555c..179bf18f5dd386c5ea89f83d2bdb5f7bb175d53d 100644 |
--- a/Source/core/html/HTMLTextFormControlElement.cpp |
+++ b/Source/core/html/HTMLTextFormControlElement.cpp |
@@ -184,7 +184,7 @@ void HTMLTextFormControlElement::select() |
void HTMLTextFormControlElement::dispatchFormControlChangeEvent() |
{ |
- if (!equalIgnoringNullity(m_textAsOfLastFormControlChangeEvent, value())) { |
+ if (!equalIgnoringNullity(m_textAsOfLastFormControlChangeEvent, value()) || (type() == "checkbox" && m_textAsOfLastFormControlChangeEvent != value())) { |
tkent
2014/04/29 23:43:41
Please do not add input-type checking to HTMLTextF
|
dispatchChangeEvent(); |
setTextAsOfLastFormControlChangeEvent(value()); |
} |