WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
265577
rgb/hsl/hwb css color formats must support mixed component types
https://bugs.webkit.org/show_bug.cgi?id=265577
Summary
rgb/hsl/hwb css color formats must support mixed component types
romain
Reported
2023-11-30 06:12:34 PST
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
Attachments
Failing example
(44.96 KB, image/png)
2023-11-30 06:12 PST
,
romain
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-12-07 06:13:29 PST
<
rdar://problem/119313050
>
romain
Comment 2
2024-01-08 11:00:18 PST
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.
Karl Dubost
Comment 3
2024-01-09 04:25:44 PST
The code is in
https://searchfox.org/wubkat/source/Source/WebCore/css/typedom/color/
Matthieu Dubet
Comment 4
2024-08-08 12:08:00 PDT
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
romain
Comment 5
2024-08-08 12:10:40 PDT
Awesome! Thank you Matthieu (and other WebKit contributors)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug