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 8a48ad8b22ed99ab617ff74def957cb41d9d6a77..3b8fc49ac1fb0fece6b4545b534baa4ca0d4a2ff 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
@@ -598,6 +598,12 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property, StyleResolverSt |
case CSSPropertyPerspectiveOrigin: |
style->setPerspectiveOrigin(animatableValueToLengthPoint(value, state)); |
return; |
+ case CSSPropertyOffsetAnchor: |
+ style->setOffsetAnchor(animatableValueToLengthPoint(value, state)); |
+ return; |
+ case CSSPropertyOffsetPosition: |
+ style->setOffsetPosition(animatableValueToLengthPoint(value, state)); |
+ return; |
case CSSPropertyShapeOutside: |
style->setShapeOutside(toAnimatableShapeValue(value)->getShapeValue()); |
return; |
@@ -641,13 +647,13 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property, StyleResolverSt |
case CSSPropertyTransformOrigin: |
style->setTransformOrigin(animatableValueToTransformOrigin(value, state)); |
return; |
- case CSSPropertyMotionOffset: |
- style->setMotionOffset(animatableValueToLength(value, state)); |
+ case CSSPropertyOffsetDistance: |
+ style->setOffsetDistance(animatableValueToLength(value, state)); |
return; |
- case CSSPropertyMotionRotation: |
- style->setMotionRotation(StyleMotionRotation( |
+ case CSSPropertyOffsetRotation: |
+ style->setOffsetRotation(StyleOffsetRotation( |
toAnimatableDoubleAndBool(value)->toDouble(), |
- toAnimatableDoubleAndBool(value)->flag() ? MotionRotationAuto : MotionRotationFixed)); |
+ toAnimatableDoubleAndBool(value)->flag() ? OffsetRotationAuto : OffsetRotationFixed)); |
return; |
case CSSPropertyWebkitPerspectiveOriginX: |
style->setPerspectiveOriginX(animatableValueToLength(value, state)); |