[Webkit-unassigned] [Bug 211931] New: Web Inspector: parse fallback colors in color function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 14 16:10:23 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=211931
Bug ID: 211931
Summary: Web Inspector: parse fallback colors in color function
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: nvasilyev at apple.com
CC: inspector-bugzilla-changes at group.apple.com,
jond at apple.com, webkit-bug-importer at group.apple.com
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).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200514/e6b8b07a/attachment.htm>
More information about the webkit-unassigned
mailing list