WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 245533
230007
Add support for new CSS system colors SelectedItem and SelectedItemText
https://bugs.webkit.org/show_bug.cgi?id=230007
Summary
Add support for new CSS system colors SelectedItem and SelectedItemText
Markus Stange
Reported
2021-09-07 09:52:04 PDT
System colors with the names SelectedItem and SelectedItemText were recently added to CSS:
https://drafts.csswg.org/css-color/#valdef-system-color-selecteditem
I'm filing this bug so that I have a bug number to reference. Judging by the following code in the WebInspector stylesheets, for WebKit these new keywords would correspond to the same colors as the existing colors -apple-system-selected-content-background and -apple-system-alternate-selected-text, respectively:
https://trac.webkit.org/browser/webkit/trunk/Source/WebInspectorUI/UserInterface/Views/Variables.css?rev=281182#L419
419 --selected-foreground-color: -apple-system-alternate-selected-text; 420 --selected-background-color: -apple-system-selected-content-background;
Attachments
Add attachment
proposed patch, testcase, etc.
Kevin Neal
Comment 1
2021-09-08 08:46:55 PDT
Thank you for filing. The appropriate engineers have been notified.
Radar WebKit Bug Importer
Comment 2
2021-09-08 08:47:12 PDT
<
rdar://problem/82874848
>
Anthony Ricaud
Comment 3
2025-01-20 04:34:14 PST
Seems like this was implemented in
bug 245533
. Maybe Sam can mark this as a duplicate?
Sam Weinig
Comment 4
2025-01-20 07:01:53 PST
*** This bug has been marked as a duplicate of
bug 245533
***
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