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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.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
Index: third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
index ba3123742528399760a0cabb31a5984300acb197..8e85181ed14312d21aeed6a3bbe80f8ddc761482 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
@@ -627,6 +627,8 @@ PassRefPtr<AnimatableValue> CSSAnimatableValueFactory::create(
return createFromLengthPoint(style.offsetAnchor(), style);
case CSSPropertyOffsetDistance:
return createFromLength(style.offsetDistance(), style);
+ case CSSPropertyOffsetPath:
+ return createFromPath(style.offsetPath());
case CSSPropertyOffsetPosition:
return createFromLengthPoint(style.offsetPosition(), style);
case CSSPropertyOffsetRotate:

Powered by Google App Engine
This is Rietveld 408576698