Bug 245631 - Audit new CSS Color 4 system colors to determine if OS overrides are useful
Summary: Audit new CSS Color 4 system colors to determine if OS overrides are useful
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-24 19:22 PDT by Sam Weinig
Modified: 2022-10-01 19:23 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2022-09-24 19:22:27 PDT
In https://bugs.webkit.org/show_bug.cgi?id=245533, we added a few new system colors.

  ButtonBorder
    white (matching existing ActiveBorder and InactiveBorder values).
  SelectedItem
    lightGray (matching existing Menu value)
  SelectedItemText
    black (matching existing *Text values)
  Mark
    yellow (matching background-color of <mark> in UA stylesheet)
  MarkText
    black (matching color of <mark> in UA stylesheet)
  AccentColor
    sRGB { 0, 122, 255 } (matching color of system-control-accent)
  AccentColorText
    black (matching existing *Text values)


That change only added platform agnostic values. We should audit the list to determine if any would be better with OS specific overrides. For example, AccentColor might be useful as an alias of -apple-system-control-accent on macOS.
Comment 1 Radar WebKit Bug Importer 2022-10-01 19:23:17 PDT
<rdar://problem/100662954>