Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index de47b2af61fe06156d33abb622a8116abf237d3c..88922ba075176866980e1b3f1bdcbde49e5c5a27 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -448,6 +448,7 @@ void HTMLInputElement::updateType() |
} |
m_needsToUpdateViewValue = true; |
+ setNeedsValidityCheck(); |
m_inputTypeView->updateView(); |
if (didRespectHeightAndWidth != m_inputType->shouldRespectHeightAndWidthAttributes()) { |
@@ -468,7 +469,6 @@ void HTMLInputElement::updateType() |
addToRadioButtonGroup(); |
- setNeedsValidityCheck(); |
notifyFormStateChanged(); |
} |