Bug 234783

Summary: Add support for the "color-interpolation" attribute for SVG gradients
Product: WebKit Reporter: Sam Weinig <sam>
Component: SVGAssignee: Sam Weinig <sam>
Status: NEW ---    
Severity: Normal CC: changseok, dino, esprehn+autocc, ews-watchlist, fmalita, fs, glenn, gyuyoung.kim, kondapallykalyan, maggotfish, pdr, sabouhallawa, schenney, sergio, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
WIP none

Description Sam Weinig 2022-01-01 09:56:59 PST
It looks like we currently don't respect SVG's color-interpolation attribute, https://svgwg.org/svg2-draft/painting.html#ColorInterpolation, for SVG gradients.

Now that we can easily support linearSRGB interpolation, this should be easy to add.
Comment 1 Sam Weinig 2022-01-02 10:49:34 PST
Created attachment 448178 [details]
WIP
Comment 2 Radar WebKit Bug Importer 2022-01-08 09:57:19 PST
<rdar://problem/87294645>
Comment 3 Fredrik Söderquist 2024-04-03 06:53:25 PDT
Firefox shipped this in version 123 [1], and I'm looking at getting this out the door in Chromium/Blink, so consider this a nudge to get the above patch out the door ;-).

[1] https://www.mozilla.org/en-US/firefox/123.0/releasenotes/