forked from mirrors/gecko-dev
Automatic update from web-platform-tests Reland "Use effect.Opacity() directly in PaintChunksToCcLayer" TO SHERIFF: If this CL breaks some tests, please don't revert because this CL contains hundreds of rebaselines. Please inform me and I'll rebaseline the affected test, or if I'm not available immediately, please file a bug, disable the test and I'm fix the bug ASAP. This reverts commit fb2e40fabc0c4ae5f27ab6fde0be19ea7978933b. FormControlsBrowserTest.Select now generates different results on different Mac OS versions due to the difference of opacity rounding. The difference in each pixel is tiny and invisible to human eyes, but the number of different pixels exceeds the original fuzzy threshold. Now increase the fuzzy threshold for small errors. Original change's description: > Revert "Use effect.Opacity() directly in PaintChunksToCcLayer" > > This reverts commit 1953cda04464cd964d8dd2b055e8ec67dc4811e8. > > Suspect it's the reason for recent failures of > FormControlsBrowserTest.Select > https://ci.chromium.org/ui/p/chromium/builders/ci/Mac10.14%20Tests/30800/overview > in Mac10.14. > > Will reland if the tests still fail. > > Original change's description: > > Use effect.Opacity() directly in PaintChunksToCcLayer > > > > Avoid conversions from float to uint8_t to float. > > > > Bug: 1308932 > > Change-Id: Ide06a17785b761f5fdf283d62d7a2499870e07ce > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4178555 > > Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> > > Reviewed-by: Philip Rogers <pdr@chromium.org> > > Cr-Commit-Position: refs/heads/main@{#1094860} > > Bug: 1308932 > Change-Id: I844d73def835288c13e36eb5c49fa68a481de6e8 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4183661 > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > Commit-Queue: Fredrik Hernqvist <fhernqvist@google.com> > Owners-Override: Fredrik Hernqvist <fhernqvist@google.com> > Cr-Commit-Position: refs/heads/main@{#1094941} Bug: 1308932 Change-Id: I8efbdef2e6a70e71c7d66feb1222de2bb67553cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4184656 Reviewed-by: John Abd-El-Malek <jam@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1095312} -- wpt-commits: 699c98dd682cb9023924c04c4ce9ab37dad9c912 wpt-pr: 38087
19 lines
671 B
HTML
19 lines
671 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Test: A Web Animations on ::backdrop</title>
|
|
<link rel="help" href="https://fullscreen.spec.whatwg.org/#::backdrop-pseudo-element">
|
|
<link rel="match" href="backdrop-animate-002-ref.html">
|
|
<dialog id="target">Dialog contents</dialog>
|
|
<!-- This test fails on WPT.fyi with off-by-one on the green background (Chrome-only): -->
|
|
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-472500">
|
|
<script>
|
|
const target = document.getElementById("target");
|
|
target.showModal();
|
|
target.animate({
|
|
opacity: [0.1, 0.1],
|
|
backgroundColor: ["green", "green"]
|
|
}, {
|
|
pseudoElement: "::backdrop",
|
|
duration: Infinity
|
|
});
|
|
</script>
|