Bug 248467

Summary: Display::Style should use a custom ShadowData with a resolved Color
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Matthieu Dubet 2022-11-29 07:48:13 PST
Display::Style is supposed to have a completely resolved color (cf https://github.com/WebKit/WebKit/blob/main/Source/WebCore/display/css/DisplayStyle.h#L47).

ShadowData object contains unresolved StyleColor object.

Display::Style should not use ShadowData but a custom object containing shadow information and a Color (resolved by definition) instead of a StyleColor (unresolved by definition).
Comment 1 Radar WebKit Bug Importer 2022-12-08 12:33:29 PST
<rdar://problem/103141629>