Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1113)

Unified Diff: Source/core/svg/SVGAnimateMotionElement.cpp

Issue 18053005: Introduce SVGGraphicsElement IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698