Index: Source/core/html/HTMLElement.h |
diff --git a/Source/core/html/HTMLElement.h b/Source/core/html/HTMLElement.h |
index 86c3d03883abeac84fa145dd15e46726498fe943..60dd90477db871a82045febbc9b38c09a7452f36 100644 |
--- a/Source/core/html/HTMLElement.h |
+++ b/Source/core/html/HTMLElement.h |
@@ -78,7 +78,7 @@ public: |
virtual bool rendererIsNeeded(const RenderStyle&); |
virtual RenderObject* createRenderer(RenderStyle*); |
- HTMLFormElement* form() const { return virtualForm(); } |
+ HTMLFormElement* formOwner() const; |
HTMLFormElement* findFormAncestor() const; |
@@ -90,6 +90,8 @@ public: |
virtual bool isLabelable() const { return false; } |
// http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#interactive-content |
virtual bool isInteractiveContent() const; |
+ // http://www.whatwg.org/specs/web-apps/current-work/#form-associated-element |
+ virtual bool isFormAssociatedElement() const { return false; } |
virtual void defaultEventHandler(Event*) OVERRIDE; |
protected: |