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

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

Issue 646543004: Implement :valid and :invalid pseudoclass for <form> (resubmitting) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Stop using willValidate for :valid/:invalid pseudo-classes 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/HTMLFormElement.h
diff --git a/Source/core/html/HTMLFormElement.h b/Source/core/html/HTMLFormElement.h
index 045b59c298fd98d3c207c8f6150515b3fc58d843..a9804d0c3906da29af5117b8f123c15cfcd2ac80 100644
--- a/Source/core/html/HTMLFormElement.h
+++ b/Source/core/html/HTMLFormElement.h
@@ -47,6 +47,10 @@ public:
virtual ~HTMLFormElement();
virtual void trace(Visitor*) override;
+ virtual bool matchesValidityPseudoClasses() const override final;
+ virtual bool isValidElement() override final;
+ void setNeedsValidityCheck();
+
PassRefPtrWillBeRawPtr<HTMLFormControlsCollection> elements();
void getNamedElements(const AtomicString&, WillBeHeapVector<RefPtrWillBeMember<Element> >&);

Powered by Google App Engine
This is Rietveld 408576698