RESOLVED WONTFIX 211931
Web Inspector: parse fallback colors in color function
https://bugs.webkit.org/show_bug.cgi?id=211931
Summary Web Inspector: parse fallback colors in color function
Nikita Vasilyev
Reported 2020-05-14 16:10:23 PDT
Web Inspector shows "Unsupported property value" for color(display-p3 1 0.5 0.6, pink) "pink" here is a fallback value. Web Inspector should parse it as a valid color. --- https://www.w3.org/TR/css-color-4/#color-function 10.1. Specifying profiled colors: the color() function The color() function allows a color to be specified in a particular colorspace (rather than the implicit sRGB colorspace that the other color functions operate in). Its syntax is: color() = color( [ <ident>? [ <number>+ | <string> ] [ / <alpha-value> ]? ]# , <color>? ) The color function takes one or more comma-separated arguments, with each argument specifying a color, and later colors acting as "fallback" if an earlier color can’t be displayed (for example, if the colorspace it specifies hasn’t been loaded yet).
Attachments
Radar WebKit Bug Importer
Comment 1 2020-05-14 16:10:33 PDT
Sam Weinig
Comment 2 2022-02-10 16:05:05 PST
Fallback colors have been removed from the spec.
Note You need to log in before you can comment on or make changes to this bug.