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

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

Issue 943303002: Simplify form validation handling (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add a test Created 5 years, 10 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
« no previous file with comments | « Source/core/html/HTMLFieldSetElement.h ('k') | Source/core/html/HTMLFormControlElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFieldSetElement.cpp
diff --git a/Source/core/html/HTMLFieldSetElement.cpp b/Source/core/html/HTMLFieldSetElement.cpp
index 92d8a009fc991551d73d5866ad901c9864d6ab49..d6daa91bf9591894842b9a83857b5fdec8792a96 100644
--- a/Source/core/html/HTMLFieldSetElement.cpp
+++ b/Source/core/html/HTMLFieldSetElement.cpp
@@ -76,15 +76,6 @@ bool HTMLFieldSetElement::isValidElement()
return true;
}
-void HTMLFieldSetElement::setNeedsValidityCheck()
-{
- // For now unconditionally order style recalculation, which triggers
- // validity recalculation. In the near future, consider implement validity
- // cache and recalculate style only if it changed.
- pseudoStateChanged(CSSSelector::PseudoValid);
- pseudoStateChanged(CSSSelector::PseudoInvalid);
-}
-
void HTMLFieldSetElement::invalidateDisabledStateUnder(Element& base)
{
for (HTMLFormControlElement& element : Traversal<HTMLFormControlElement>::descendantsOf(base))
« no previous file with comments | « Source/core/html/HTMLFieldSetElement.h ('k') | Source/core/html/HTMLFormControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698