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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105537363>
Matthieu Dubet
Pull request: https://github.com/WebKit/WebKit/pull/31512