Intent to Ship: Support 'color-interpolation: linearrgb' on SVG gradients

482 views
Skip to first unread message

Fredrik Söderquist

unread,
Jun 10, 2024, 5:25:36 AMJun 10
to blink-dev

Contact emails

f...@opera.com

Explainer

None

Specification

https://svgwg.org/svg2-draft/painting.html#ColorInterpolation

Summary

Allows SVG gradients to interpolate in a linear-light sRGB color space. Currently all SVG gradients interpolate in a gamma-encoded sRGB color space.



Blink component

Blink>SVG

Search tags

SVGCSSColor

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

The risk along both axes is fairly low since the difference is in rendering only (even if the rendering can differ quite significantly).



Gecko: Shipped/Shipping (https://www.mozilla.org/en-US/firefox/123.0/releasenotes)

WebKit: No signal

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?

Yes

Is this feature fully tested by web-platform-tests?

Yes

https://wpt.fyi/results/svg/pservers/reftests/gradient-color-interpolation.svg



Flag name on chrome://flags

None

Finch feature name

SvgGradientColorInterpolationLinearRgbSupport

Requires code in //chrome?

False

Tracking bug

https://issues.chromium.org/issues/324440102

Estimated milestones

Shipping on desktop127
Shipping on Android127
Shipping on WebView127


Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

None

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5131849549742080?gate=6228725141340160

This intent message was generated by Chrome Platform Status.

Yoav Weiss (@Shopify)

unread,
Jun 11, 2024, 12:08:21 AMJun 11
to Fredrik Söderquist, blink-dev
On Mon, Jun 10, 2024 at 11:25 AM Fredrik Söderquist <f...@opera.com> wrote:

Contact emails

f...@opera.com

Explainer

None

Specification

https://svgwg.org/svg2-draft/painting.html#ColorInterpolation

Summary

Allows SVG gradients to interpolate in a linear-light sRGB color space. Currently all SVG gradients interpolate in a gamma-encoded sRGB color space.



Blink component

Blink>SVG

Search tags

SVGCSSColor

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

The risk along both axes is fairly low since the difference is in rendering only (even if the rendering can differ quite significantly).



Gecko: Shipped/Shipping (https://www.mozilla.org/en-US/firefox/123.0/releasenotes)

WebKit: No signal

Can you file for a signal?
 
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLSkF96MOwMyoU7FbrF14-fy_3TfMD-JNdjn-DqO5o1X4w%40mail.gmail.com.

Fredrik Söderquist

unread,
Jun 11, 2024, 4:23:09 AMJun 11
to Yoav Weiss (@Shopify), blink-dev
On Tue, Jun 11, 2024 at 6:08 AM Yoav Weiss (@Shopify) <yoav...@chromium.org> wrote:


On Mon, Jun 10, 2024 at 11:25 AM Fredrik Söderquist <f...@opera.com> wrote:

Contact emails

f...@opera.com

Explainer

None

Specification

https://svgwg.org/svg2-draft/painting.html#ColorInterpolation

Summary

Allows SVG gradients to interpolate in a linear-light sRGB color space. Currently all SVG gradients interpolate in a gamma-encoded sRGB color space.



Blink component

Blink>SVG

Search tags

SVGCSSColor

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

The risk along both axes is fairly low since the difference is in rendering only (even if the rendering can differ quite significantly).



Gecko: Shipped/Shipping (https://www.mozilla.org/en-US/firefox/123.0/releasenotes)

WebKit: No signal

Can you file for a signal?
 

Chris Harrelson

unread,
Jun 12, 2024, 11:50:49 AMJun 12
to Fredrik Söderquist, Yoav Weiss (@Shopify), blink-dev

Yoav Weiss (@Shopify)

unread,
Jun 12, 2024, 11:51:17 AMJun 12
to Chris Harrelson, Fredrik Söderquist, blink-dev
LGTM2

Daniel Bratell

unread,
Jun 12, 2024, 11:52:14 AMJun 12
to Yoav Weiss (@Shopify), Chris Harrelson, Fredrik Söderquist, blink-dev
Reply all
Reply to author
Forward
0 new messages