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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 1418663004: SVG animateMotion paths that only cause offsets are no longer ignored (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: third_party/WebKit/Source/core/style/ComputedStyle.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index d810f8209bd59bb5d48bb08144e425ef844f10cb..b971326f7406cd8cb5bd41733f4217c155f20121 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -1004,8 +1004,8 @@ void ComputedStyle::applyMotionPathTransform(float originX, float originY, Trans
FloatPoint point;
float angle;
- if (!motionPath.path().pointAndNormalAtLength(computedDistance, point, angle))
- return;
+ motionPath.path().pointAndNormalAtLength(computedDistance, point, angle);
+
if (motionData.m_rotationType == MotionRotationFixed)
angle = 0;

Powered by Google App Engine
This is Rietveld 408576698