Bug 234783 - Add support for the "color-interpolation" attribute for SVG gradients
Summary: Add support for the "color-interpolation" attribute for SVG gradients
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Weinig
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-01 09:56 PST by Sam Weinig
Modified: 2024-07-22 03:30 PDT (History)
16 users (show)

See Also:


Attachments
WIP (2.44 KB, patch)
2022-01-02 10:49 PST, Sam Weinig
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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/