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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 2842933003: CSS Motion Path: delete implementation of offset-rotation property (Closed)
Patch Set: remove offsetRotation from webexposed Created 3 years, 8 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/css/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index a1305d36c7fdf601aedf7655609931933dfecf87..a01d69e0839f12a2cad5a875720a675e92694ef3 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -3437,13 +3437,12 @@ const CSSValue* ComputedStyleCSSValueMapping::Get(
case CSSPropertyOffsetDistance:
return ZoomAdjustedPixelValueForLength(style.OffsetDistance(), style);
- case CSSPropertyOffsetRotate:
- case CSSPropertyOffsetRotation: {
+ case CSSPropertyOffsetRotate: {
CSSValueList* list = CSSValueList::CreateSpaceSeparated();
- if (style.OffsetRotation().type == kOffsetRotationAuto)
+ if (style.OffsetRotate().type == kOffsetRotationAuto)
list->Append(*CSSIdentifierValue::Create(CSSValueAuto));
list->Append(*CSSPrimitiveValue::Create(
- style.OffsetRotation().angle, CSSPrimitiveValue::UnitType::kDegrees));
+ style.OffsetRotate().angle, CSSPrimitiveValue::UnitType::kDegrees));
return list;
}

Powered by Google App Engine
This is Rietveld 408576698