| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/animation/DoubleStyleInterpolation.h" | 5 #include "core/animation/DoubleStyleInterpolation.h" |
| 6 | 6 |
| 7 #include "core/css/CSSPrimitiveValue.h" | 7 #include "core/css/CSSPrimitiveValue.h" |
| 8 #include "core/css/CSSValueList.h" | 8 #include "core/css/CSSValueList.h" |
| 9 #include "core/css/StylePropertySet.h" | 9 #include "core/css/StylePropertySet.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 | 135 |
| 136 TEST_F(AnimationDoubleStyleInterpolationTest, ValueAutoMotionRotation) | 136 TEST_F(AnimationDoubleStyleInterpolationTest, ValueAutoMotionRotation) |
| 137 { | 137 { |
| 138 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparated()
; | 138 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparated()
; |
| 139 list->append(CSSPrimitiveValue::createIdentifier(CSSValueAuto)); | 139 list->append(CSSPrimitiveValue::createIdentifier(CSSValueAuto)); |
| 140 list->append(CSSPrimitiveValue::create(90, CSSPrimitiveValue::UnitType::Degr
ees)); | 140 list->append(CSSPrimitiveValue::create(90, CSSPrimitiveValue::UnitType::Degr
ees)); |
| 141 RefPtrWillBeRawPtr<CSSValue> value = roundTripMotionRotation(list.release(),
true); | 141 RefPtrWillBeRawPtr<CSSValue> value = roundTripMotionRotation(list.release(),
true); |
| 142 testValueListMotionRotation(value, 90, true); | 142 testValueListMotionRotation(value, 90, true); |
| 143 } | 143 } |
| 144 | 144 |
| 145 } | 145 } // namespace blink |
| OLD | NEW |