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

Unified Diff: third_party/WebKit/Source/core/animation/LengthPropertyFunctions.cpp

Issue 2247773004: [WIP] CSS Motion Path: offset-anchor and offset-position Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: offsetAnchor Created 4 years, 4 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/LengthPropertyFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/LengthPropertyFunctions.cpp b/third_party/WebKit/Source/core/animation/LengthPropertyFunctions.cpp
index 87b7b2f5e88a05a8be4cae1fb6e67613110c3d06..188253036abac9fbfd8dc29dce9f46d144a7d77d 100644
--- a/third_party/WebKit/Source/core/animation/LengthPropertyFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/LengthPropertyFunctions.cpp
@@ -169,8 +169,8 @@ bool LengthPropertyFunctions::getLength(CSSPropertyID property, const ComputedSt
case CSSPropertyMinWidth:
result = style.minWidth();
return true;
- case CSSPropertyMotionOffset:
- result = style.motionOffset();
+ case CSSPropertyOffsetDistance:
+ result = style.offsetDistance();
return true;
case CSSPropertyPaddingBottom:
result = style.paddingBottom();
@@ -354,8 +354,8 @@ bool LengthPropertyFunctions::setLength(CSSPropertyID property, ComputedStyle& s
case CSSPropertyMinWidth:
style.setMinWidth(value);
return true;
- case CSSPropertyMotionOffset:
- style.setMotionOffset(value);
+ case CSSPropertyOffsetDistance:
+ style.setOffsetDistance(value);
return true;
case CSSPropertyPaddingBottom:
style.setPaddingBottom(value);

Powered by Google App Engine
This is Rietveld 408576698