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

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

Issue 1202563009: <fieldset> should be ignored in interactive validation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/HTMLFormControlElement.h
diff --git a/Source/core/html/HTMLFormControlElement.h b/Source/core/html/HTMLFormControlElement.h
index c9914bca5b156aad0b56b1dd033cbb89a3916e1d..185403f72fbe8a287506d813fcf2a9c2766c64b2 100644
--- a/Source/core/html/HTMLFormControlElement.h
+++ b/Source/core/html/HTMLFormControlElement.h
@@ -77,6 +77,8 @@ public:
virtual bool canTriggerImplicitSubmission() const { return false; }
+ virtual bool isSubmittableElement() { return true; }
+
// Override in derived classes to get the encoded name=value pair for submitting.
// Return true for a successful control (see HTML4-17.13.2).
virtual bool appendFormData(FormDataList&, bool) override { return false; }
@@ -107,7 +109,6 @@ public:
bool isAutofilled() const { return m_isAutofilled; }
void setAutofilled(bool = true);
-
tkent 2015/06/25 12:47:08 Do not remove unrelated line.
tanay.c 2015/06/25 13:37:29 Done.
static HTMLFormControlElement* enclosingFormControlElement(Node*);
String nameForAutofill() const;

Powered by Google App Engine
This is Rietveld 408576698