Index: Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
index 415f1c423d1ebccb836c0fb79e4af934945a7574..bf6ae705ab3d0d4eafd47a67cdc7bfefe7e9422b 100644 |
--- a/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -8135,7 +8135,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseMotionRotation() |
if ((value->id == CSSValueAuto || value->id == CSSValueReverse) && !hasAutoOrReverse) { |
list->append(cssValuePool().createIdentifierValue(value->id)); |
hasAutoOrReverse = true; |
- } else if (validUnit(value, FAngle) && !hasAngle) { |
+ } else if (!hasAngle && validUnit(value, FAngle)) { |
list->append(createPrimitiveNumericValue(value)); |
hasAngle = true; |
} else { |