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

Unified Diff: Source/core/html/HTMLFormControlElement.h

Issue 646273004: Implement :valid and :invalid pseudoclass for <fieldset> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Pull 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
« no previous file with comments | « Source/core/html/HTMLFieldSetElement.cpp ('k') | Source/core/html/HTMLFormControlElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFormControlElement.h
diff --git a/Source/core/html/HTMLFormControlElement.h b/Source/core/html/HTMLFormControlElement.h
index f56ab7ee0d8a84523b2a5a02aeb2bc81b736e474..c87dfa7ed04ef5ec5f4efafaa98fd0a714f8a3aa 100644
--- a/Source/core/html/HTMLFormControlElement.h
+++ b/Source/core/html/HTMLFormControlElement.h
@@ -157,8 +157,8 @@ private:
virtual short tabIndex() const override final;
virtual bool isDefaultButtonForForm() const override final;
- virtual bool isValidElement() override final;
- virtual bool matchesValidityPseudoClasses() const override final;
+ virtual bool isValidElement() override;
+ virtual bool matchesValidityPseudoClasses() const override;
void updateAncestorDisabledState() const;
bool isValidationMessageVisible() const;
@@ -166,6 +166,8 @@ private:
// Requests validity recalc for the form owner, if one exists.
void formOwnerSetNeedsValidityCheck();
+ // Requests validity recalc for all ancestor fieldsets, if exist.
+ void fieldSetAncestorsSetNeedsValidityCheck(Node*);
bool m_disabled : 1;
bool m_isAutofilled : 1;
« no previous file with comments | « Source/core/html/HTMLFieldSetElement.cpp ('k') | Source/core/html/HTMLFormControlElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698