summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/html/HTMLButtonElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/html/HTMLButtonElement.h')
-rw-r--r--src/3rdparty/webkit/WebCore/html/HTMLButtonElement.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/WebCore/html/HTMLButtonElement.h b/src/3rdparty/webkit/WebCore/html/HTMLButtonElement.h
index b1d744c26..f5b9b628f 100644
--- a/src/3rdparty/webkit/WebCore/html/HTMLButtonElement.h
+++ b/src/3rdparty/webkit/WebCore/html/HTMLButtonElement.h
@@ -61,6 +61,7 @@ public:
private:
enum Type { SUBMIT, RESET, BUTTON };
+ virtual bool isOptionalFormControl() const { return true; }
Type m_type;
bool m_activeSubmit;