Skip to content

Conversation

ccameron-chromium
Copy link
Contributor

@ccameron-chromium ccameron-chromium commented Aug 5, 2025

Canvas2D: Add rec2100-linear to PredefinedColorSpace enum

  • At least two implementers are interested (and none opposed):
  • Tests are written and can be reviewed and commented upon at:
  • Implementation bugs are filed:
    • Chromium: …
    • Gecko: …
    • WebKit: …
    • Deno (only for timers, structured clone, base64 utils, channel messaging, module resolution, web workers, and web storage): …
    • Node.js (only for timers, structured clone, base64 utils, channel messaging, and module resolution): …
  • Corresponding HTML AAM & ARIA in HTML issues & PRs:
  • MDN issue is filed: …
  • The top of this comment includes a clear commit message to use.

(See WHATWG Working Mode: Changes for more details.)


/canvas.html ( diff )
/infrastructure.html ( diff )

Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OP needs filling out. You can consider WebKit interested.

I think we should also have a follow-up issue on formalizing "color space" better. We say these values map to CSS-defined color spaces, but most of the "color space" concepts say they hold a PredefinedColorSpace as value, which seems wrong. We should translate from the string to the CSS color spaces and then use those throughout.

We'll also need tests for all the various things taking a PredefinedColorSpace.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What makes this requirement obsolete?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

addition/proposal New features or enhancements topic: canvas

Development

Successfully merging this pull request may close these issues.

3 participants