[csswg-drafts] [css-color-4] Ambiguous definition of D65 white point (#6640)

kdrag0n has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-4] Ambiguous definition of D65 white point ==
In #5922 (related to https://github.com/LeaVerou/color.js/issues/87), the XYZ <-> sRGB conversion matrices were recalculated to use the sRGB specification's definition of D65: xy 0.3127, 0.3290. The [Sample code for color conversions section of the spec](https://www.w3.org/TR/css-color-4/#color-conversion-code) is currently using the sRGB D65-based matrices. As mentioned in #5922, [matrixmaker.html](https://drafts.csswg.org/css-color-4/matrixmaker.html) was used to calculate the matrices in February.

However, matrixmaker.html was later updated to use ASTM D65 again in commit 55e497b217f03bff5f534744719d6a7b019c18c3, so the calculated matrices are now different from the CSS Color 4 spec. Is this intentional, or is one of them wrong?

I realize that this issue is similar to #6618, but the scope is much smaller and this is likely a trivial fix as compared to the other issue. Feel free to close this issue if you think it's a duplicate.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6640 using your GitHub account


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

Received on Monday, 20 September 2021 05:50:16 UTC