Intent to Prototype: CSS Color Level 4

129 views
Skip to first unread message

Christopher Cameron

unread,
Jun 6, 2022, 9:50:30 PM6/6/22
to blink-dev, Fernando Serboncini, Juanmi Huertas, Aaron Krajeski, Chris Harrelson, Zhenyao Mo
Hello blink-dev!

Chromium currently allows wide color gamut colors to be rendered via images, video, and canvases. Missing from this party are wide color gamut CSS colors. Rumblings have already begun deep in the bowels of the Chromium paint and compositing systems, which will prepare the ground for this. Before they spill over to blink, here is our intent to prototype CSS Color Level 4!

Contact emails

ccam...@chromium.orgfs...@chromium.orgaar...@chromium.orgjuan...@chromium.org


Specification

https://www.w3.org/TR/css-color-4

Summary

CSS Color Level 4 allows specifying CSS colors that are not limited to the sRGB color gamut.


Blink component

Blink>Compositing

Motivation

CSS Color Level 4 allows specifying colors outside of the sRGB color gamut. Images, videos, and canvases (2D and WebGL) can currently specify such colors, but CSS is limited to the sRGB color gamut.


TAG review status

Not started

Risks



Interoperability and Compatibility



Gecko: No signal

WebKit: Shipped/Shipping (https://webkit.org/blog/10042/wide-gamut-color-in-css-with-display-p3)

Web developers: No signals

WebView application risks

None.



Debuggability

This feature will need integration with DevTools (the form that that takes will need to be determined).



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

Many tests are present here.

Flag name

None yet.

Requires code in //chrome?

No.

Tracking bug

https://crbug.com/1333988

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/6280020765966336

This intent message was generated by Chrome Platform Status.

Yoav Weiss

unread,
Jun 7, 2022, 5:45:01 AM6/7/22
to Christopher Cameron, blink-dev, Fernando Serboncini, Juanmi Huertas, Aaron Krajeski, Chris Harrelson, Zhenyao Mo
Thanks for working on this!!

--
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/CAGnfxj8cxk1h8jRSXy_5q9iTxFEYVkESWc-OtB1LjDYWOsjB8A%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages