Bug 225544 - Web Inspector: `WI.Color.fromString` doesn't support CSS `color()` with percent values
Summary: Web Inspector: `WI.Color.fromString` doesn't support CSS `color()` with perce...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-07 15:56 PDT by Devin Rousso
Modified: 2021-05-07 15:57 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2021-05-07 15:56:56 PDT
# STEPS TO REPRODUCE
1. inspect any page
2. add `background-color: color(display-p3 99% 83% 18%);` to the inline style of any element

# EXPECTED
the swatch is yellow(ish)

# ACTUAL
the swatch is white
Comment 1 Radar WebKit Bug Importer 2021-05-07 15:57:11 PDT
<rdar://problem/77676879>