Bug 252384

Summary: StyleColor should not take more memory than a plain Color when unnecessary
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: WebCore Misc.Assignee: Matthieu Dubet <m_dubet>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matthieu Dubet
Reported 2023-02-16 01:03:41 PST
StyleColor supports representing arbitrarily complex Web color such as color-mix(color-mix(.....)). In the vast majority of cases though, StyleColor just represents a simple Color object. We should optimize this case memory-wise.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-02-16 01:04:08 PST
Matthieu Dubet
Comment 2 2024-07-30 17:03:37 PDT
Note You need to log in before you can comment on or make changes to this bug.