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

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, 2 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: 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 6cef0714c8c54393249ab3155b0119353ac869b3..a26a19140864733a7e60aeba8ba994d81e0684db 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);
pdr. 2015/10/30 00:52:05 There are only a few callers of these functions an
Eric Willigers 2015/11/20 07:49:53 Done.
+
if (motionData.m_rotationType == MotionRotationFixed)
angle = 0;

Powered by Google App Engine
This is Rietveld 408576698