Index: Source/core/svg/SVGAnimateMotionElement.cpp |
diff --git a/Source/core/svg/SVGAnimateMotionElement.cpp b/Source/core/svg/SVGAnimateMotionElement.cpp |
index 3562b8e8739e9a6d986ea721e8e4a985818f4784..3530637ed1fa4e2f97ebc31be710f2716c20ffd4 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->isStyledTransformable() && !targetElement->hasTagName(SVGNames::textTag)) |
+ if (!targetElement->isSVGGraphicsElement() && !targetElement->hasTagName(SVGNames::textTag)) |
return false; |
// Spec: SVG 1.1 section 19.2.15 |
// FIXME: svgTag is missing. Needs to be checked, if transforming <svg> could cause problems. |