Bug 294504

Summary: Update serialization of <color> custom properties to used value
Product: WebKit Reporter: Sam Weinig <sam>
Component: CSSAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: Unspecified   
OS: Unspecified   

Sam Weinig
Reported 2025-06-14 09:20:17 PDT
In https://github.com/w3c/csswg-drafts/issues/10371 it was resolved that: ``` RESOLVED: <color> values returned by getComputedStyle() on standard CSS properties or registered custom properties is the used value RESOLVED: computed <color> values returned by TypedOM are the actual computed value ``` We should update and remove the special case serialization of Style::Color that exists only for the old behavior.
Attachments
Sam Weinig
Comment 1 2025-06-16 17:03:10 PDT
EWS
Comment 2 2025-06-17 14:18:49 PDT
Committed 296337@main (0fb43e308674): <https://commits.webkit.org/296337@main> Reviewed commits have been landed. Closing PR #46827 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-06-17 14:20:06 PDT
Note You need to log in before you can comment on or make changes to this bug.