OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/FilterStyleInterpolation.h" | 5 #include "core/animation/FilterStyleInterpolation.h" |
6 | 6 |
7 #include "core/css/CSSPrimitiveValue.h" | 7 #include "core/css/CSSPrimitiveValue.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 TEST_F(AnimationFilterStyleInterpolationTest, SimpleTest) | 32 TEST_F(AnimationFilterStyleInterpolationTest, SimpleTest) |
33 { | 33 { |
34 RefPtrWillBeRawPtr<CSSFunctionValue> filter; | 34 RefPtrWillBeRawPtr<CSSFunctionValue> filter; |
35 | 35 |
36 filter = CSSFunctionValue::create(CSSValueOpacity); | 36 filter = CSSFunctionValue::create(CSSValueOpacity); |
37 filter->append(CSSPrimitiveValue::create(0.5, CSSPrimitiveValue::UnitType::N
umber)); | 37 filter->append(CSSPrimitiveValue::create(0.5, CSSPrimitiveValue::UnitType::N
umber)); |
38 roundTrip(*filter); | 38 roundTrip(*filter); |
39 } | 39 } |
40 | 40 |
41 } | 41 } // namespace blink |
OLD | NEW |