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
308685
Implement setSelectedColorForColorPicker in UIScriptControllerMac
https://bugs.webkit.org/show_bug.cgi?id=308685
Summary
Implement setSelectedColorForColorPicker in UIScriptControllerMac
zak ridouh
Reported
2026-02-25 16:55:36 PST
The Mac UIScriptController was missing an implementation of setSelectedColorForColorPicker, which prevented color picker layout tests from running on macOS. The WKWebView testing API (_setSelectedColorForColorPicker:) already existed on Mac but was never wired up to the test runner. Uses colorWithSRGBRed: rather than colorWithRed: to ensure the color is created in the sRGB color space, matching what HTML color inputs expect and avoiding color space conversion artifacts.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-02-25 16:55:42 PST
<
rdar://problem/171218670
>
zak ridouh
Comment 2
2026-02-25 17:00:59 PST
Pull request:
https://github.com/WebKit/WebKit/pull/59466
EWS
Comment 3
2026-02-25 21:01:10 PST
Committed
308256@main
(ddfb013ec016): <
https://commits.webkit.org/308256@main
> Reviewed commits have been landed. Closing PR #59466 and removing active labels.
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