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

Unified Diff: third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp

Issue 2720653002: CSS Motion Path: Implement animation for the offset-path property
Patch Set: move Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
index 5501d85711565728aaa27bedf0ffdce1dc2dfb32..7bf85948fef5037049d900d031ed84232c470fec 100644
--- a/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
@@ -792,6 +792,9 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property,
case CSSPropertyOffsetDistance:
style->setOffsetDistance(animatableValueToLength(value, state));
return;
+ case CSSPropertyOffsetPath:
+ style->setOffsetPath(toAnimatablePath(value)->path());
+ return;
case CSSPropertyOffsetPosition:
style->setOffsetPosition(animatableValueToLengthPoint(value, state));
return;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698