Re: [csswg-drafts] [css-color-4] Disagreements over gamut mapping (#7610)

@ccameron-chromium my 2c is that making those the 3 cases display the same color is important, and hopefully there is a solution that preserves this in most or all situations. I think gamut mapping to match the actual display is the "risky" operation here, if that's done for `color(display-p3 1 0 0)` before painting the div that would lead to a mismatch between that div and the 2D canvas.

To me this suggests that gamut mapping to match the actual display should happen late in the pipeline, unobservable to web contents, including when reading back pixels from a canvas.

It's still necessary to do *something* with `color(srgb 2 0 0)` whether that ends up painted to an sRGB or P3 buffer, and the color matching goal doesn't tell us what that something is, I think?

-- 
GitHub Notification of comment by foolip
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7610#issuecomment-1219213066 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 18 August 2022 08:54:58 UTC