RESOLVED WONTFIX 229676
`color-contrast()` not working with system colors
https://bugs.webkit.org/show_bug.cgi?id=229676
Summary `color-contrast()` not working with system colors
Adam Argyle
Reported 2021-08-30 11:06:24 PDT
Looks like system colors don't work as a value to be compared against. Reduced test case here: https://cdpn.io/argyleink/debug/bbaf6bf6aa72419da3bd53f5eee85329 Maybe system colors also aren't potential candidates in the list of valid comparison colors either?
Attachments
Aditya Keerthi
Comment 1 2021-08-30 17:30:59 PDT
See also: https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp#L1368 ``` // FIXME: We don't have enough context in the parser to resolving a system keyword // correctly. We should package up the relative color parameters and resolve the // whole thing at the appropriate time when the origin color is a system keyword. ```
Radar WebKit Bug Importer
Comment 2 2021-09-06 11:07:16 PDT
Tim Nguyen (:ntim)
Comment 3 2024-08-29 10:56:18 PDT
We're removing color-contrast in bug 278864
Note You need to log in before you can comment on or make changes to this bug.