Bug 267252
| Summary: | Introduce StyleFontData to store the FontCascade object | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | CSS | Assignee: | Simon Fraser (smfr) <simon.fraser> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=283140 | ||
| Bug Depends on: | 284001, 284139, 284351 | ||
| Bug Blocks: | |||
Simon Fraser (smfr)
FontCascade is big (322 bytes) and makes StyleInheritedData large; it's also relatively slow to copy and compare.
We can make RenderStyle comparisons faster by moving the FontCascade object into a class we can use with DataRef, so introduce StyleFontData for this purpose.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/120688639>
Simon Fraser (smfr)
^232 not 322
Simon Fraser (smfr)
Pull request: https://github.com/WebKit/WebKit/pull/22531
EWS
Committed 287648@main (035afb793279): <https://commits.webkit.org/287648@main>
Reviewed commits have been landed. Closing PR #22531 and removing active labels.