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 "config.h" | 5 #include "config.h" |
6 #include "core/animation/interpolation/DeferredLegacyStyleInterpolation.h" | 6 #include "core/animation/DeferredLegacyStyleInterpolation.h" |
7 | 7 |
8 #include "core/css/CSSInheritedValue.h" | 8 #include "core/css/CSSInheritedValue.h" |
9 #include "core/css/CSSPrimitiveValue.h" | 9 #include "core/css/CSSPrimitiveValue.h" |
10 #include "core/css/CSSValueList.h" | 10 #include "core/css/CSSValueList.h" |
11 #include "core/css/StylePropertySet.h" | 11 #include "core/css/StylePropertySet.h" |
12 #include "core/css/parser/BisonCSSParser.h" | 12 #include "core/css/parser/BisonCSSParser.h" |
13 | 13 |
14 #include <gtest/gtest.h> | 14 #include <gtest/gtest.h> |
15 | 15 |
16 namespace blink { | 16 namespace blink { |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 EXPECT_TRUE(test(CSSPropertyWebkitFilter, "drop-shadow(0px 0px 0px currentco
lor)")); | 85 EXPECT_TRUE(test(CSSPropertyWebkitFilter, "drop-shadow(0px 0px 0px currentco
lor)")); |
86 EXPECT_FALSE(test(CSSPropertyWebkitFilter, "opacity(1)")); | 86 EXPECT_FALSE(test(CSSPropertyWebkitFilter, "opacity(1)")); |
87 EXPECT_FALSE(test(CSSPropertyWebkitFilter, "saturate(0)")); | 87 EXPECT_FALSE(test(CSSPropertyWebkitFilter, "saturate(0)")); |
88 EXPECT_FALSE(test(CSSPropertyWebkitFilter, "grayscale(1)")); | 88 EXPECT_FALSE(test(CSSPropertyWebkitFilter, "grayscale(1)")); |
89 EXPECT_FALSE(test(CSSPropertyWebkitFilter, "invert(1)")); | 89 EXPECT_FALSE(test(CSSPropertyWebkitFilter, "invert(1)")); |
90 EXPECT_FALSE(test(CSSPropertyWebkitFilter, "sepia(1)")); | 90 EXPECT_FALSE(test(CSSPropertyWebkitFilter, "sepia(1)")); |
91 EXPECT_TRUE(test(CSSPropertyWebkitFilter, "url(#svgfilter)")); | 91 EXPECT_TRUE(test(CSSPropertyWebkitFilter, "url(#svgfilter)")); |
92 } | 92 } |
93 | 93 |
94 } | 94 } |
OLD | NEW |