In previous versions of Chrome, I found that although `in srgb` was specified, the color stops would take effect as long as display-p3 was specified in color stops. Other browsers seem to convert to srgb first.
So which behavior is CSS specification compliant? ```css background: linear-gradient(to right in srgb, color(display-p3 1 0 0), green); ``` Demo: https://codepen.io/yisi/pen/jEOMXex 在2025年2月26日星期三 UTC+8 00:27:19<Aaron Krajeski> 写道: > > Would you mind requesting the various review gates (privacy, security, > enterprise, etc) in your chromestatus entry? Thanks. > > Done > > > > On Monday, February 24, 2025 at 9:53:51 AM UTC-5 Mike Taylor wrote: > >> Would you mind requesting the various review gates (privacy, security, >> enterprise, etc) in your chromestatus entry? Thanks. >> On 2/24/25 9:36 AM, 'Aaron Krajeski' via blink-dev wrote: >> >> Contact emails >> aar...@chromium.org >> >> Explainer >> https://developer.mozilla.org/en-US/blog/css-color-module-level-4/ >> Specification https://www.w3.org/TR/css-color-4/#predefined >> >> Summary >> >> Display P3, Rec2020, ProPhoto RGB and a98 RGB are specified in CSS color >> 4 as predefined color spaces but had not yet been implemented as color >> spaces for interpolation. Other UAs have already implemented. >> >> >> Blink component Blink>CSS >> <https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3ECSS%22> >> >> TAG review None >> >> TAG review status Not applicable >> >> Risks >> >> >> Interoperability and Compatibility >> >> None >> >> >> *Gecko*: Already implemented. See >> https://codepen.io/mysterydate/pen/azbzvqB in Firefox. >> >> *WebKit*: Already implemented. See >> https://codepen.io/mysterydate/pen/azbzvqB in Safari. >> >> *Web developers*: https://issues.chromium.org/issues/382086298 >> >> *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 >> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> >> ? Yes >> <https://github.com/web-platform-tests/wpt/blob/240b357348202856b077417a3ebf944301776a89/css/css-images/gradient/gradient-eval-predefined-color-spaces.html#L4> >> >> >> Flag name on about://flags None >> >> Finch feature name None >> >> Non-finch justification None >> >> Requires code in //chrome? False >> >> Estimated milestones >> >> M134 >> >> >> 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/5350873536135168?gate=5081273527435264 >> >> This intent message was generated by Chrome Platform Status >> <https://chromestatus.com/>. >> >> -- >> 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 visit >> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/d1e3e07b-ac7b-449f-b9b9-dc91d515ee6fn%40chromium.org >> >> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/d1e3e07b-ac7b-449f-b9b9-dc91d515ee6fn%40chromium.org?utm_medium=email&utm_source=footer> >> . >> >> -- 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+unsubscr...@chromium.org. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/89b1d88a-9235-4e38-8684-5c9dbf0dfedcn%40chromium.org.