Bug 245631
| Summary: | Audit new CSS Color 4 system colors to determine if OS overrides are useful | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> |
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sam Weinig
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/100662954>