Bug 245631

Summary: Audit new CSS Color 4 system colors to determine if OS overrides are useful
Product: WebKit Reporter: Sam Weinig <sam>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

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>