- From: weinig via GitHub <sysbot+gh@w3.org>
- Date: Sat, 27 Feb 2021 19:29:46 +0000
- To: public-css-archive@w3.org
weinig has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color-5] Consider always requiring a colorspace argument to color-mix() == In the current CSS Color 5 draft's color-mix() function, https://drafts.csswg.org/css-color-5/#color-mix, the colorspace is argument is optional, and leaving it out defaults to "lch". I would like to suggest we remove the default value and always require a colorspace to specified. In general, I think requiring explicit color spaces is beneficial to avoid circumstances like we have now with implicit sRGB, where the best choice is no longer what we think it is. If in the past, we had required all colors / transformations of colors to be tagged, it would be much easier to change things today, as finding all the uses of sRGB in a codebase would be just searching for that explicit usage. It's always possible to add a default later, if it becomes a burden, but it is much harder to remove one, so I think being conservative for now is the right tradeoff to make. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6051 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 27 February 2021 19:29:47 UTC