Bug 252031 - Web Inspector: Add initial support for color-mix CSS values
Summary: Web Inspector: Add initial support for color-mix CSS values
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Patrick Angle
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-09 21:28 PST by Karl Dubost
Modified: 2023-02-15 16:43 PST (History)
3 users (show)

See Also:


Attachments
test-case (428 bytes, text/html)
2023-02-09 21:28 PST, Karl Dubost
no flags Details
web inspector UI with the cut off value (117.51 KB, image/png)
2023-02-09 21:29 PST, Karl Dubost
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.