Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(894)

Unified Diff: Source/core/html/HTMLInputElement.cpp

Issue 672163002: Fix bug where form/fieldset :valid/:invalid won't be recalculated upon control's willValidate change Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add layout tests to catch the problem Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index d0704564663d4357c2add46e8a78209cd188920e..e3f3c3a5c11ea366056e99352f0a5c85d379d39a 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -1446,9 +1446,9 @@ void HTMLInputElement::willChangeForm()
HTMLTextFormControlElement::willChangeForm();
}
-void HTMLInputElement::didChangeForm()
+void HTMLInputElement::didChangeForm(HTMLFormElement* oldForm)
{
- HTMLTextFormControlElement::didChangeForm();
+ HTMLTextFormControlElement::didChangeForm(oldForm);
addToRadioButtonGroup();
}
« Source/core/html/HTMLFormControlElement.cpp ('K') | « Source/core/html/HTMLInputElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698