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 "sky/engine/config.h" | |
6 #include "sky/engine/core/animation/DeferredLegacyStyleInterpolation.h" | 5 #include "sky/engine/core/animation/DeferredLegacyStyleInterpolation.h" |
7 | 6 |
8 #include "sky/engine/core/css/CSSInheritedValue.h" | 7 #include "sky/engine/core/css/CSSInheritedValue.h" |
9 #include "sky/engine/core/css/CSSPrimitiveValue.h" | 8 #include "sky/engine/core/css/CSSPrimitiveValue.h" |
10 #include "sky/engine/core/css/CSSValueList.h" | 9 #include "sky/engine/core/css/CSSValueList.h" |
11 #include "sky/engine/core/css/StylePropertySet.h" | 10 #include "sky/engine/core/css/StylePropertySet.h" |
12 #include "sky/engine/core/css/parser/BisonCSSParser.h" | 11 #include "sky/engine/core/css/parser/BisonCSSParser.h" |
13 | 12 |
14 #include <gtest/gtest.h> | 13 #include <gtest/gtest.h> |
15 | 14 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 EXPECT_TRUE(test(CSSPropertyFilter, "drop-shadow(0px 0px 0px currentcolor)")
); | 74 EXPECT_TRUE(test(CSSPropertyFilter, "drop-shadow(0px 0px 0px currentcolor)")
); |
76 EXPECT_FALSE(test(CSSPropertyFilter, "opacity(1)")); | 75 EXPECT_FALSE(test(CSSPropertyFilter, "opacity(1)")); |
77 EXPECT_FALSE(test(CSSPropertyFilter, "saturate(0)")); | 76 EXPECT_FALSE(test(CSSPropertyFilter, "saturate(0)")); |
78 EXPECT_FALSE(test(CSSPropertyFilter, "grayscale(1)")); | 77 EXPECT_FALSE(test(CSSPropertyFilter, "grayscale(1)")); |
79 EXPECT_FALSE(test(CSSPropertyFilter, "invert(1)")); | 78 EXPECT_FALSE(test(CSSPropertyFilter, "invert(1)")); |
80 EXPECT_FALSE(test(CSSPropertyFilter, "sepia(1)")); | 79 EXPECT_FALSE(test(CSSPropertyFilter, "sepia(1)")); |
81 EXPECT_TRUE(test(CSSPropertyFilter, "url(#svgfilter)")); | 80 EXPECT_TRUE(test(CSSPropertyFilter, "url(#svgfilter)")); |
82 } | 81 } |
83 | 82 |
84 } | 83 } |
OLD | NEW |