Re: [csswg-drafts] [css-color-5] Should colors nested in a parent color function (RCS, color-mix, light-dark, color-contrast) serialize in their most precision saving form (#10328)

When we took up this issue, I did not realize that the changes contradicted behavior that was already shipped in Blink and Gecko and tested by WPTs. See [color-valid-relative-color.html](https://wpt.fyi/results/css/css-color/parsing/color-valid-relative-color.html?label=master&label=experimental&aligned&view=interop&q=label%3Ainterop-2024-relative-color), the history timelines for that test, and the [WPT changes](https://github.com/web-platform-tests/wpt/commit/072e7fd7d7391bb49370e6100610e529d6c9d2b5#diff-3c11dc425e69e4b485a6e9a265d604152cfaa9ba6578de7777a73443badfa682) made for this resolution.

FWIW I think the new behavior is better, and I'll undertake a compat analysis to make sure it can stick. But I wanted to get it on the radar that there's a possibility the changes turn out to be not Web compatible and this resolution might need to be revisited.

cc @emilio 

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


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

Received on Monday, 12 August 2024 16:34:37 UTC