WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
238108
Add an addition point for system background color
https://bugs.webkit.org/show_bug.cgi?id=238108
Summary
Add an addition point for system background color
Tim Horton
Reported
2022-03-19 00:21:22 PDT
Use hardcoded base background color to avoid transparent backgrounds
Attachments
Patch
(19.22 KB, patch)
2022-03-19 00:24 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch
(19.07 KB, patch)
2022-03-19 14:25 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch
(19.07 KB, patch)
2022-03-19 14:34 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2022-03-19 00:24:26 PDT
Created
attachment 455166
[details]
Patch
Aditya Keerthi
Comment 2
2022-03-19 10:37:28 PDT
Comment on
attachment 455166
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=455166&action=review
> Source/WebCore/platform/ios/WebCoreUIColorExtras.mm:38 > + return (UIColor *)[PAL::getUIColorClass() blackColor];
The system background color is not always black or white. The trait collection's `userInterfaceLevel` and `accessibilityContrast` also affect this color. I don't think it would be a good idea to hardcode all the variations – I'll talk to you about possible alternate solutions.
Tim Horton
Comment 3
2022-03-19 14:25:19 PDT
Created
attachment 455175
[details]
Patch
Tim Horton
Comment 4
2022-03-19 14:34:09 PDT
Created
attachment 455177
[details]
Patch
EWS
Comment 5
2022-03-21 10:45:56 PDT
Committed
r291564
(
248666@main
): <
https://commits.webkit.org/248666@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 455177
[details]
.
Radar WebKit Bug Importer
Comment 6
2022-03-21 10:46:18 PDT
<
rdar://problem/90576569
>
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