Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: sky/engine/core/animation/DeferredLegacyStyleInterpolationTest.cpp

Issue 850103003: Unprefix -webkit-filter and add a pixel test for it. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/HACKING.md ('k') | sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/animation/DeferredLegacyStyleInterpolationTest.cpp
diff --git a/sky/engine/core/animation/DeferredLegacyStyleInterpolationTest.cpp b/sky/engine/core/animation/DeferredLegacyStyleInterpolationTest.cpp
index cb82e352d67cf6d6e6d94b4b0d5b1c2b8f9a29cf..137fcde23139cd5d3f017a5bd8e9b0cab9dc16f6 100644
--- a/sky/engine/core/animation/DeferredLegacyStyleInterpolationTest.cpp
+++ b/sky/engine/core/animation/DeferredLegacyStyleInterpolationTest.cpp
@@ -71,19 +71,19 @@ TEST_F(AnimationDeferredLegacyStyleInterpolationTest, Transform)
TEST_F(AnimationDeferredLegacyStyleInterpolationTest, Filter)
{
- EXPECT_FALSE(test(CSSPropertyWebkitFilter, "hue-rotate(180deg) blur(6px)"));
- EXPECT_FALSE(test(CSSPropertyWebkitFilter, "grayscale(0) blur(0px)"));
- EXPECT_FALSE(test(CSSPropertyWebkitFilter, "none"));
- EXPECT_FALSE(test(CSSPropertyWebkitFilter, "brightness(0) contrast(0)"));
- EXPECT_FALSE(test(CSSPropertyWebkitFilter, "drop-shadow(20px 10px green)"));
- EXPECT_TRUE(test(CSSPropertyWebkitFilter, "drop-shadow(20px 10vw green)"));
- EXPECT_TRUE(test(CSSPropertyWebkitFilter, "drop-shadow(0px 0px 0px currentcolor)"));
- EXPECT_FALSE(test(CSSPropertyWebkitFilter, "opacity(1)"));
- EXPECT_FALSE(test(CSSPropertyWebkitFilter, "saturate(0)"));
- EXPECT_FALSE(test(CSSPropertyWebkitFilter, "grayscale(1)"));
- EXPECT_FALSE(test(CSSPropertyWebkitFilter, "invert(1)"));
- EXPECT_FALSE(test(CSSPropertyWebkitFilter, "sepia(1)"));
- EXPECT_TRUE(test(CSSPropertyWebkitFilter, "url(#svgfilter)"));
+ EXPECT_FALSE(test(CSSPropertyFilter, "hue-rotate(180deg) blur(6px)"));
+ EXPECT_FALSE(test(CSSPropertyFilter, "grayscale(0) blur(0px)"));
+ EXPECT_FALSE(test(CSSPropertyFilter, "none"));
+ EXPECT_FALSE(test(CSSPropertyFilter, "brightness(0) contrast(0)"));
+ EXPECT_FALSE(test(CSSPropertyFilter, "drop-shadow(20px 10px green)"));
+ EXPECT_TRUE(test(CSSPropertyFilter, "drop-shadow(20px 10vw green)"));
+ EXPECT_TRUE(test(CSSPropertyFilter, "drop-shadow(0px 0px 0px currentcolor)"));
+ EXPECT_FALSE(test(CSSPropertyFilter, "opacity(1)"));
+ EXPECT_FALSE(test(CSSPropertyFilter, "saturate(0)"));
+ EXPECT_FALSE(test(CSSPropertyFilter, "grayscale(1)"));
+ EXPECT_FALSE(test(CSSPropertyFilter, "invert(1)"));
+ EXPECT_FALSE(test(CSSPropertyFilter, "sepia(1)"));
+ EXPECT_TRUE(test(CSSPropertyFilter, "url(#svgfilter)"));
}
}
« no previous file with comments | « sky/HACKING.md ('k') | sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698