Closed Bug 1798768 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 36788 - Allow for color parameters to be slightly different

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Aaron Krajeski <aaronhk@chromium.org> wrote:

Allow for color parameters to be slightly different

Many WPT tests are looking for exact equality in color channels for
things like interpolation and color space conversion. This CL adds
an epsilon tolerance to the tests.

color-computed-relative-color-expected.txt and
color-computed-color-function-expected.txt need to be updated because
failure messages have changed.

color-computed-color-mix-function-expected.txt goes from 255 PASS,
249 FAIL to 289 PASS, 185 FAIL with this CL. Remaining failures all
look like hue interpolation/premultipliation issues.

Bug: 1092638
Change-Id: Ic8646fd790b29e5bb8461453208c246c7531c639

Reviewed-on: https://chromium-review.googlesource.com/3997697
WPT-Export-Revision: f403b5adc54e03627ef997b39f871446dd276a42

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34e1527fa96b [wpt PR 36788] - Allow for color parameters to be slightly different, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.