Closed Bug 1798054 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 36721 - Colorspaces for CSS Gradients hooked into Skia

Categories

(Core :: Layout: Images, Video, and HTML Frames, 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 36721 into mozilla-central (this bug is closed when the sync is complete).

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

Aaron Krajeski <aaronhk@chromium.org> wrote:

Colorspaces for CSS Gradients hooked into Skia

Plumb the values input into CSS with the new syntax into the new Skia
api for gradients that was just created here:
https://skia-review.googlesource.com/c/skia/+/590999

Now gradients generated match the output described here:
https://csswg.sesse.net/css-color-4/#interpolation

Now the image reference tests pass! Though they had to become a little
bit more fuzzy. Three gradient tests are still failing:
gradient-eval-004.html (need to deal with “none”)
​​gradient-eval-006.html (out of gamut endpoints)
gradient-eval-008.html (lch longer hue, not sure about this one)

Also get rid of the "specified" hue interpolation method that is
getting removed from the spec.

Bug: 1362022
Change-Id: Id10c70ce52202bd86eeee077334b2fc4d5a71019

Reviewed-on: https://chromium-review.googlesource.com/3988245
WPT-Export-Revision: 4119ab21981433630134b1aa1f423f34d5b4280d

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2be29121ae1e [wpt PR 36721] - Colorspaces for CSS Gradients hooked into Skia, 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.