WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
234783
Add support for the "color-interpolation" attribute for SVG gradients
https://bugs.webkit.org/show_bug.cgi?id=234783
Summary
Add support for the "color-interpolation" attribute for SVG gradients
Sam Weinig
Reported
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.
Attachments
WIP
(2.44 KB, patch)
2022-01-02 10:49 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2022-01-02 10:49:34 PST
Created
attachment 448178
[details]
WIP
Radar WebKit Bug Importer
Comment 2
2022-01-08 09:57:19 PST
<
rdar://problem/87294645
>
Fredrik Söderquist
Comment 3
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/
Karl Dubost
Comment 4
2026-01-18 17:57:04 PST
(Asking Sam about the status on webkit slack channel.)
Karl Dubost
Comment 5
2026-01-18 18:04:13 PST
SeeAlso
Bug 305066
and the associated PR. // FIXME: When we support `color-interpolation` (
webkit.org/b/234783
) it would be OK to convert the colors to linearRGB when interpolation is linear.
https://github.com/WebKit/WebKit/pull/56730/changes#diff-d84885f211289ef03c36e79f71f6030345bfeb98029768e656aa326dc4cc178dR53
Karl Dubost
Comment 6
2026-01-20 04:01:33 PST
Pull request:
https://github.com/WebKit/WebKit/pull/56891
EWS
Comment 7
2026-01-20 23:24:50 PST
Committed
305921@main
(3bc2a037ac2b): <
https://commits.webkit.org/305921@main
> Reviewed commits have been landed. Closing PR #56891 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug