Bug 1798768 [wpt PR 36788] - Allow for color parameters to be slightly different...
commit7bda1959d6de4d20e8e40a369af7b7e9924f4935
authorAaron Krajeski <aaronhk@chromium.org>
Thu, 10 Nov 2022 16:01:22 +0000 (10 16:01 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 11 Nov 2022 12:34:15 +0000 (11 12:34 +0000)
treec78884493c5c289c5ec71ed8782e4ed770c28d1b
parent84f04aed1958a80d9ca81a303819e0e051b66052
Bug 1798768 [wpt PR 36788] - Allow for color parameters to be slightly different, a=testonly

Automatic update from web-platform-tests
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/c/chromium/src/+/3997697
Reviewed-by: Juanmi Huertas <juanmihd@chromium.org>
Commit-Queue: Aaron Krajeski <aaronhk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1068573}

--

wpt-commits: 0fd62d76ab84d325861e8619ad1e9601d82b144c
wpt-pr: 36788
testing/web-platform/tests/css/support/computed-testcommon.js