Index: Source/core/html/FormAssociatedElement.h |
diff --git a/Source/core/html/FormAssociatedElement.h b/Source/core/html/FormAssociatedElement.h |
index 0c278e834d79522c412a5aaaffc3a64f3e758741..1cb79479977937fb3da3455e3353ee8694575c8f 100644 |
--- a/Source/core/html/FormAssociatedElement.h |
+++ b/Source/core/html/FormAssociatedElement.h |
@@ -56,6 +56,7 @@ public: |
virtual bool isFormControlElement() const = 0; |
virtual bool isFormControlElementWithState() const; |
virtual bool isEnumeratable() const = 0; |
+ virtual bool isLabelElement() const { return false; } |
// Returns the 'name' attribute value. If this element has no name |
// attribute, it returns an empty string instead of null string. |