[Webkit-unassigned] [Bug 230007] New: Add support for new CSS system colors SelectedItem and SelectedItemText

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 7 09:52:04 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=230007

            Bug ID: 230007
           Summary: Add support for new CSS system colors SelectedItem and
                    SelectedItemText
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mstange at themasta.com

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;

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210907/606f238d/attachment.htm>


More information about the webkit-unassigned mailing list