| OLD | NEW |
| 1 #include "core/animation/VisibilityStyleInterpolation.h" | 1 #include "core/animation/VisibilityStyleInterpolation.h" |
| 2 | 2 |
| 3 #include "core/css/CSSPrimitiveValue.h" | 3 #include "core/css/CSSPrimitiveValue.h" |
| 4 #include "core/css/StylePropertySet.h" | 4 #include "core/css/StylePropertySet.h" |
| 5 #include "testing/gtest/include/gtest/gtest.h" | 5 #include "testing/gtest/include/gtest/gtest.h" |
| 6 | 6 |
| 7 namespace blink { | 7 namespace blink { |
| 8 | 8 |
| 9 class AnimationVisibilityStyleInterpolationTest : public ::testing::Test { | 9 class AnimationVisibilityStyleInterpolationTest : public ::testing::Test { |
| 10 protected: | 10 protected: |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 CSSPropertyVisibility); | 55 CSSPropertyVisibility); |
| 56 | 56 |
| 57 interpolation->interpolate(0, 0.0); | 57 interpolation->interpolate(0, 0.0); |
| 58 RefPtrWillBeRawPtr<CSSValue> value = interpolableValueToVisibility(getCached
Value(*interpolation), CSSValueHidden); | 58 RefPtrWillBeRawPtr<CSSValue> value = interpolableValueToVisibility(getCached
Value(*interpolation), CSSValueHidden); |
| 59 testPrimitiveValue(value, CSSValueHidden); | 59 testPrimitiveValue(value, CSSValueHidden); |
| 60 | 60 |
| 61 interpolation->interpolate(0, 0.5); | 61 interpolation->interpolate(0, 0.5); |
| 62 value = interpolableValueToVisibility(getCachedValue(*interpolation), CSSVal
ueHidden); | 62 value = interpolableValueToVisibility(getCachedValue(*interpolation), CSSVal
ueHidden); |
| 63 testPrimitiveValue(value, CSSValueVisible); | 63 testPrimitiveValue(value, CSSValueVisible); |
| 64 } | 64 } |
| 65 } | 65 } // namespace blink |
| OLD | NEW |