Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index b90e8b45242f22c10ffad1b8a7862215e777f1a7..253c04bd2f005c3d7b92a0c8d353b10a9c39e963 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -454,6 +454,7 @@ void HTMLInputElement::updateType() |
} |
m_needsToUpdateViewValue = true; |
+ setNeedsValidityCheck(); |
m_inputTypeView->updateView(); |
if (didRespectHeightAndWidth != m_inputType->shouldRespectHeightAndWidthAttributes()) { |
@@ -474,7 +475,6 @@ void HTMLInputElement::updateType() |
addToRadioButtonGroup(); |
- setNeedsValidityCheck(); |
notifyFormStateChanged(); |
} |