Created attachment 468820 [details] Failing example Safari Version : Release 183 (Safari 17.4, WebKit 19618.1.5.2) URLs (if applicable) : - https://codepen.io/romainmenke/pen/wvNYKmR - https://github.com/web-platform-tests/wpt/pull/43450 - https://drafts.csswg.org/css-color-4/ Other browsers tested: Add OK or FAIL, along with the version, after other browsers where you have tested this issue: Chrome: FAIL Firefox: PASS (nightly) Edge: - What steps will reproduce the problem? (1) Visit https://codepen.io/romainmenke/pen/wvNYKmR What is the expected result? You should see only squares with a background color What happens instead? You see some white squares for rgb/hsl/hwb Attachment 1 shows the result in Safari Visit the codepen in Firefox Nightly to compare
<rdar://problem/119313050>
Both Firefox and Chrome have fixed all issues related to this in their respective nightly/beta versions. The WPT tests have been merged. This has been added to MDN browser compat data.
The code is in https://searchfox.org/wubkat/source/Source/WebCore/css/typedom/color/
Thank you for opening this bug Romain. We now support mixed component types in color function. https://wpt.fyi/results/css/css-color/parsing/color-valid-rgb.html?label=experimental&label=master&aligned
Awesome! Thank you Matthieu (and other WebKit contributors)