web-platform-tests / interop

web-platform-tests Interop project
https://wpt.fyi/interop
280 stars 28 forks source link

P3 All The Things #559

Closed jensimmons closed 7 months ago

jensimmons commented 11 months ago

Description

A lot of attention was paid in 2023 to implementing CSS features to let web designer/developers make use of wide gamut P3 color. But in order for CSS, media, and more to be in P3, the browser and operating system need to support P3 in all of the various levels of the DOM including:

Support for P3 color in Web GL was proposed last year by @astearns for Interop 2023:

Rationale Wide color gamut support in WebGL Canvas is necessary for performant color management in apps like Photoshop on the web. We currently work around the lack by creating multiple Canvases which gets very memory-intensive.

Specification

tbd

Open Issues

No response

Tests

No response

Current Implementations

Standards Positions

No response

Browser bug reports

No response

Developer discussions

No response

Polls & Surveys

No response

Existing Usage

No response

Workarounds

No response

Accessibility Impact

No response

Privacy Impact

No response

Other

No response

svgeesus commented 11 months ago

images

Relevant WPT test for a Display P3 PNG image, using cICP Coding Independent Code Points rather than an ICC profile:

png/cicp-chunk.html

Currently passes in Chrome and Edge, fails in Firefox and Safari

There should also be a test for an image with a Display P3 ICC profile, which I would expect all browsers to pass; that is easy to do but there is not currently such a test.

I agree that Display P3 Canvas 2D support would fit nicely into this area.

jensimmons commented 11 months ago

This definitely needs new tests. We need a volunteer. If we don't think we will have the tests, then this proposal should not be selected for Interop 2024.

jensimmons commented 11 months ago

This could instead be browsers self-reporting what's supported, and making sure that data is available on Can I Use.

jgraham commented 7 months ago

Thank you for proposing P3 All The Things for inclusion in Interop 2024.

We wanted to let you know that this proposal was not selected to be part of Interop this year.

We could not find any tests for P3 All The Things in the Web Platform Tests. Such tests are crucial for measuring interoperability status and progress. Once there are WPT entries covering this proposal, we welcome it being resubmitted for a future round of Interop.

For an overview of our process, see proposal selection. Thank you again for contributing to Interop 2024!

Posted on behalf of the Interop team.