Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 5d9b56ce74408ae5f8becae7c8b3cc747c925f01..82460195a68ac3d4c4389bfd1d779d632c6e68b0 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(); |
} |