Index: Source/core/svg/SVGGraphicsElement.h |
diff --git a/Source/core/svg/SVGGraphicsElement.h b/Source/core/svg/SVGGraphicsElement.h |
index 1f147447fe0d389eccf06d77e1d2cda01d7d12a9..da48e06121971ab0ad6ec0645f09246bb6b681f3 100644 |
--- a/Source/core/svg/SVGGraphicsElement.h |
+++ b/Source/core/svg/SVGGraphicsElement.h |
@@ -71,6 +71,8 @@ public: |
protected: |
SVGGraphicsElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElement); |
+ virtual bool supportsFocus() const OVERRIDE { return SVGElement::supportsFocus() || hasFocusEventListeners(); } |
+ |
bool isSupportedAttribute(const QualifiedName&); |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |
virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |