Bug 248467 - Display::Style should use a custom ShadowData with a resolved Color
Summary: Display::Style should use a custom ShadowData with a resolved Color
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-29 07:48 PST by Matthieu Dubet
Modified: 2022-12-08 12:33 PST (History)
1 user (show)

See Also:


Attachments

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