Index: Source/core/svg/SVGAnimateMotionElement.cpp |
diff --git a/Source/core/svg/SVGAnimateMotionElement.cpp b/Source/core/svg/SVGAnimateMotionElement.cpp |
index ceda949bd3679d00ba1cc9535f04a856e160e735..1a468f3a8a096ab239e0acf843dfbb7d80cd1de5 100644 |
--- a/Source/core/svg/SVGAnimateMotionElement.cpp |
+++ b/Source/core/svg/SVGAnimateMotionElement.cpp |
@@ -60,7 +60,7 @@ bool SVGAnimateMotionElement::hasValidAttributeType() |
return false; |
// We don't have a special attribute name to verify the animation type. Check the element name instead. |
- if (!targetElement->isSVGGraphicsElement() && !targetElement->hasTagName(SVGNames::textTag)) |
+ if (!targetElement->isSVGGraphicsElement()) |
return false; |
// Spec: SVG 1.1 section 19.2.15 |
// FIXME: svgTag is missing. Needs to be checked, if transforming <svg> could cause problems. |