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 0c8ab2472cb5acb14d08a98fa94207d8f447c4ba..a430ade4e04af1a2a691b07e84dcdb437a66ae47 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -3552,8 +3552,6 @@ const CSSValue* ComputedStyleCSSValueMapping::get( |
CSSPrimitiveValue::UnitType::Degrees); |
CSSValueList* list = CSSValueList::createSpaceSeparated(); |
- list->append(*CSSPrimitiveValue::create( |
- style.rotate()->angle(), CSSPrimitiveValue::UnitType::Degrees)); |
if (style.rotate()->x() != 0 || style.rotate()->y() != 0 || |
style.rotate()->z() != 1) { |
list->append(*CSSPrimitiveValue::create( |
@@ -3563,6 +3561,8 @@ const CSSValue* ComputedStyleCSSValueMapping::get( |
list->append(*CSSPrimitiveValue::create( |
style.rotate()->z(), CSSPrimitiveValue::UnitType::Number)); |
} |
+ list->append(*CSSPrimitiveValue::create( |
+ style.rotate()->angle(), CSSPrimitiveValue::UnitType::Degrees)); |
return list; |
} |
case CSSPropertyScale: { |