Bug 225544

Summary: Web Inspector: `WI.Color.fromString` doesn't support CSS `color()` with percent values
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: hi, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

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>