- From: Christopher Cameron <notifications@github.com>
- Date: Wed, 09 Jun 2021 18:33:10 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3ctag/design-reviews/issues/646@github.com>
I'm requesting a TAG review of Canvas 2D color management. This was developed in the W3C's ColorWeb CG, and has been reviewed and updated in WhatWG review. I would like TAG to put their eyes on it too! Summary: This formalizes the convention of 2D canvases being in the sRGB color color space by default, that input content be converted to the 2D canvas's color space when drawing and that "untagged" content is to be interpreted as sRGB. This adds a parameter whereby a 2D canvas can specify a different color space (with Display P3 being the only value exposed so far). Similarly, this formalizes that ImageData is sRGB by default, and add a parameter to specify its color space. - Explainer (minimally containing user needs and example code): https://github.com/WICG/canvas-color-space/blob/main/CanvasColorSpaceProposal.md - Note that this is superseded by the spec, which changed - Specification URL: https://github.com/whatwg/html/pull/6562 (merged) - Worked examples at the end of the [pixel manipulation section](https://html.spec.whatwg.org/multipage/canvas.html#pixel-manipulation) - Tests: https://github.com/web-platform-tests/wpt/tree/master/html/canvas/element/wide-gamut-canvas - Security and Privacy self-review: Strictly improves security and privacy. Imprecise canvas color management has historically allowed fingerprinting by leaking properties of the display device. The formal color space specification ensures that such leaks will not be possible. - Primary contacts (and their relationship to the specification): - Christopher Cameron (ccameron-chromium), Chromium author/implementor - Organization(s)/project(s) driving the specification: Chromium (with significant input from Mozilla and W3C) - Key pieces of existing multi-stakeholder review or discussion of this specification: See WhatWG Review. - External status/issue trackers for this specification - Chromium: https://crbug.com/1083693 - WebKit: https://bugs.webkit.org/show_bug.cgi?id=225140 - Gecko: https://bugzilla.mozilla.org/show_bug.cgi?id=1703654 Further details: - [x] I have reviewed the TAG's [Web Platform Design Principles](https://w3ctag.github.io/design-principles/) - Relevant time constraints or deadlines: As soon as possible, please! (Targeting Chrome 92) We'd prefer the TAG provide feedback as (please delete all but the desired option): 💬 leave review feedback as a **comment in this issue** and @-notify ccameron-chromium -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/646
Received on Thursday, 10 June 2021 01:33:46 UTC