Skip to content

Commit 6d70fec

Browse files
progerschromium-wpt-export-bot
authored andcommitted
Use fuzzy matching in composited-filters-under-opacity.html
https://crrev.com/1665715 changed the reference for composited-filters-under-opacity.html in a way that makes the test not cover the original goals (see: http://crrev.com/653319). This patch reverts https://crrev.com/1665715 and instead adds fuzzy matching, as being off by 1 is fine for this test. Change-Id: I39baa73181fb4ab74243044f1b1e130e6137bf34 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8145500 Reviewed-by: Keren Zhu <kerenzhu@chromium.org> Auto-Submit: Philip Rogers <pdr@chromium.org> Commit-Queue: Keren Zhu <kerenzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1669217}
1 parent bcbf323 commit 6d70fec

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

css/css-color/composited-filters-under-opacity-ref.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<style>
33
div {
44
position: absolute;
5-
will-change: opacity;
65
}
76
.content {
87
width: 100px;
@@ -12,7 +11,7 @@
1211
}
1312
</style>
1413
Below should be a light blue square in uniform color.
15-
<div style="opacity: 0.5">
14+
<div style="opacity: 0.5; will-change: opacity;">
1615
<div class="content" style="left: 0"></div>
1716
<div class="content" style="left: 50px"></div>
1817
</div>

css/css-color/composited-filters-under-opacity.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<link rel="help" href="http://www.w3.org/TR/css3-color/#transparency">
22
<link rel="match" href="composited-filters-under-opacity-ref.html">
3+
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-22500">
34
<style>
45
div {
56
position: absolute;

0 commit comments

Comments
 (0)