Closed Bug 1792044 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 36021 - Set correct interpolation space on input to reference filter

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fredrik Söderquist <fs@opera.com> wrote:

Set correct interpolation space on input to reference filter

When chaining two references filters (url() functions), the second one
would incorrectly perform a sRGB -> linear conversion on its input (the
result of the previous reference filter) if the current interpolation
space as well as the second filters was "linearRGB". This would mean
that the linear output of the first filter would be have conversion
applied, which resulted in the result being washed out.

Make sure to set the interpolation space of the input on the reference
filter to avoid "double conversion".

Fixed: 1349075
Change-Id: Ia2d90f92d346c0652e017e6150f00591e4976c48
Reviewed-on: https://chromium-review.googlesource.com/3913053
WPT-Export-Revision: 193fa578d0214fe1581492c36d337149936ae61a

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

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4427433954f7
[wpt PR 36021] - Set correct interpolation space on input to reference filter, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.