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

Unified Diff: third_party/WebKit/LayoutTests/css3/filters/effect-saturate-hw.html

Issue 2304243002: Deflake css3/filter/effect layout tests (Closed)
Patch Set: With comment Created 4 years, 3 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
Index: third_party/WebKit/LayoutTests/css3/filters/effect-saturate-hw.html
diff --git a/third_party/WebKit/LayoutTests/css3/filters/effect-saturate-hw.html b/third_party/WebKit/LayoutTests/css3/filters/effect-saturate-hw.html
index d81bbd2c8e3f2a9fbdb3f02a99124fc4178f521c..fb91e5d3bd7643b91596831ad184e740110a40ec 100644
--- a/third_party/WebKit/LayoutTests/css3/filters/effect-saturate-hw.html
+++ b/third_party/WebKit/LayoutTests/css3/filters/effect-saturate-hw.html
@@ -1,11 +1,18 @@
+<!-- This test uses a particular image size to avoid hitting flakiness in mesa texture sampling. See http://crbug.com/621892 for more details. -->
<style>
img {
transform:translateZ(0);
}
+div {
+ width: 160px;
+ height: 90px;
+ overflow: hidden;
+ display: inline-block;
+}
</style>
-<img style="filter: saturate(0)" src="resources/reference.png">
-<img style="filter: saturate(0.5)" src="resources/reference.png">
-<img style="filter: saturate(1.0)" src="resources/reference.png">
-<img style="filter: saturate(2)" src="resources/reference.png">
-<img style="filter: saturate(5)" src="resources/reference.png">
-<img style="filter: saturate(10)" src="resources/reference.png">
+<div><img style="filter: saturate(0)" src="resources/reference_square.png"></div>
+<div><img style="filter: saturate(0.5)" src="resources/reference_square.png"></div>
+<div><img style="filter: saturate(1.0)" src="resources/reference_square.png"></div>
+<div><img style="filter: saturate(2)" src="resources/reference_square.png"></div>
+<div><img style="filter: saturate(5)" src="resources/reference_square.png"></div>
+<div><img style="filter: saturate(10)" src="resources/reference_square.png"></div>

Powered by Google App Engine
This is Rietveld 408576698