Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P3 All The Things #559

Closed
3 tasks
jensimmons opened this issue Oct 6, 2023 · 4 comments
Closed
3 tasks

P3 All The Things #559

jensimmons opened this issue Oct 6, 2023 · 4 comments
Labels
focus-area-proposal Focus Area Proposal

Comments

@jensimmons
Copy link
Contributor

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:

  • images
  • video
  • overall page
  • Canvas (2D)
  • Web GL (3D)
  • SVG

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

  • Blink
  • Gecko
  • WebKit

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
Copy link

svgeesus commented Oct 6, 2023

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@jgraham
Copy link
Contributor

jgraham commented Feb 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus-area-proposal Focus Area Proposal
Projects
Status: Done
Development

No branches or pull requests

3 participants