Closed Bug 1692511 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27611 - Fix paint2d-gradient.https.html

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 27611 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/27611
Details from upstream follow.

b'Xida Chen <xidachen@chromium.org>' wrote:

Fix paint2d-gradient.https.html

The test has a linear gradient, together with OOP-R enabled
everyone, it seems we have very subtle pixel difference where
human eyes cannot see. Here is a picture shows what the diff
looks like:
https://drive.google.com/file/d/15dU0JLc2lj00J_eoN6PQQ3lZMpymQrMm/view?usp=sharing

I changed the test to be fuzzy matching, this should fix the
test. The fix is this line:
\<meta name=fuzzy content="0-5;3000-4000">

It means that when there is a pixel diff, the diff for each
color channel is between 0-5. And there are 3000-4000 pixels
diff.

Bug: 1034807
Change-Id: Iae83f00815c4231c1073a812e7f62f3abe3e4c5e

Reviewed-on: https://chromium-review.googlesource.com/2692506
WPT-Export-Revision: a2b546b2f1673891d8552b7f0fc1ea7b92ba55ee

Component: web-platform-tests → Web Painting
Product: Testing → Core

CI Results

Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

FAIL: 1

Chrome

PASS: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-paint-api/paint2d-gradient.https.html: FAIL [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

/css/css-paint-api/paint2d-gradient.https.html: FAIL [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7e3a389de010
[wpt PR 27611] - Fix paint2d-gradient.https.html, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.