Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
index ecbb928c555ecdb76cbd89b3e472ee2c5bd100c1..d9e58518574a2b842a222851af7aa30339fe6676 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -2730,19 +2730,22 @@ const CSSValue* ComputedStyleCSSValueMapping::get(CSSPropertyID propertyID, cons |
case CSSPropertyMotion: |
return valuesForShorthandProperty(motionShorthand(), style, layoutObject, styledNode, allowVisitedStyle); |
- case CSSPropertyMotionPath: |
- if (const StylePath* styleMotionPath = style.motionPath()) |
+ case CSSPropertyOffset: |
+ return valuesForShorthandProperty(offsetShorthand(), style, layoutObject, styledNode, allowVisitedStyle); |
+ |
+ case CSSPropertyOffsetPath: |
+ if (const StylePath* styleMotionPath = style.offsetPath()) |
return styleMotionPath->computedCSSValue(); |
return CSSPrimitiveValue::createIdentifier(CSSValueNone); |
- case CSSPropertyMotionOffset: |
- return zoomAdjustedPixelValueForLength(style.motionOffset(), style); |
+ case CSSPropertyOffsetDistance: |
+ return zoomAdjustedPixelValueForLength(style.offsetDistance(), style); |
- case CSSPropertyMotionRotation: { |
+ case CSSPropertyOffsetRotation: { |
CSSValueList* list = CSSValueList::createSpaceSeparated(); |
- if (style.motionRotation().type == MotionRotationAuto) |
+ if (style.offsetRotation().type == OffsetRotationAuto) |
list->append(*CSSPrimitiveValue::createIdentifier(CSSValueAuto)); |
- list->append(*CSSPrimitiveValue::create(style.motionRotation().angle, CSSPrimitiveValue::UnitType::Degrees)); |
+ list->append(*CSSPrimitiveValue::create(style.offsetRotation().angle, CSSPrimitiveValue::UnitType::Degrees)); |
return list; |
} |