[Webkit-unassigned] [Bug 203062] New: Does isLoadingCustomFonts() trigger many more layouts than is necessary?
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 16 17:21:49 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=203062
Bug ID: 203062
Summary: Does isLoadingCustomFonts() trigger many more layouts
than is necessary?
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Text
Assignee: webkit-unassigned at lists.webkit.org
Reporter: simon.fraser at apple.com
CC: mmaxfield at apple.com
RendertStyles evaluate as non-equal if either has a FontCascade for which isLoadingCustomFonts() is true. That triggers extra work in determineChange(const RenderStyle& s1, const RenderStyle& s2), and causes RenderStyle::diff() to return StyleDifference::Layout which triggers layouts.
This happens on lot on real pages (greensock.com, nytimes.com). We should figure out if fixing this would give us a performance win.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191017/b9fc96fc/attachment.html>
More information about the webkit-unassigned
mailing list