Bug 252031

Summary: Web Inspector: Add initial support for color-mix CSS values
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: Web InspectorAssignee: Patrick Angle <pangle>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, pangle, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
test-case
none
web inspector UI with the cut off value none

Description Karl Dubost 2023-02-09 21:28:42 PST
Created attachment 464935 [details]
test-case

1. With Safari Tech Preview 163
2. Open the test case.
3. Inspect the grey sentence
4. The selection should be on the div

Expected:
div {
    color: color-mix(in hsl, CanvasText 66%, Canvas);
}

Actual:

The full value is not correctly displayed.

div {
    color: color-mix(in ;
}


Note that Copy Rule gives the right value.
Comment 1 Radar WebKit Bug Importer 2023-02-09 21:28:58 PST
<rdar://problem/105254118>
Comment 2 Karl Dubost 2023-02-09 21:29:26 PST
Created attachment 464936 [details]
web inspector UI with the cut off value
Comment 3 Patrick Angle 2023-02-10 18:47:32 PST
Pull request: https://github.com/WebKit/WebKit/pull/9967
Comment 4 EWS 2023-02-15 16:43:37 PST
Committed 260332@main (f6173b46292f): <https://commits.webkit.org/260332@main>

Reviewed commits have been landed. Closing PR #9967 and removing active labels.