WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
327997
TypedOM incorrectly resolves currentColor in color-mix()
https://bugs.webkit.org/show_bug.cgi?id=327997
Summary
TypedOM incorrectly resolves currentColor in color-mix()
Emilio Cobos Álvarez (:emilio)
Reported
2026-10-18 05:17:28 PDT
Test-case: ``` <!doctype html> <div id="target" style="background-color: color-mix(in srgb, currentColor, transparent 20%)"></div> <pre><script> document.writeln(target.computedStyleMap().get("background-color").toString()) </script></pre> ``` Per spec it should contain the `color-mix()` like Firefox. Chrome has the same issue:
https://issues.chromium.org/issues/574558302
Attachments
Add attachment
proposed patch, testcase, etc.
Andrew Martinez
Comment 1
2026-10-18 17:30:17 PDT
Thank you for pointing this out. This exposed a whole host of other properties that incorrectly resolve... I am planning on submitting a series of PRs.
Andrew Martinez
Comment 2
2026-10-18 17:31:46 PDT
Thank you for pointing this out. This exposed a whole host of other properties that incorrectly resolve... I am planning on submitting a series of PRs.
Emilio Cobos Álvarez (:emilio)
Comment 3
2026-10-19 02:57:06 PDT
Awesome to hear!
Radar WebKit Bug Importer
Comment 4
2026-10-25 05:18:14 PDT
<
rdar://problem/190949489
>
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