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; |