NEW140400
Downloading web fonts causes unnecessary font invalidation
https://bugs.webkit.org/show_bug.cgi?id=140400
Summary Downloading web fonts causes unnecessary font invalidation
Myles C. Maxfield
Reported 2015-01-13 11:43:05 PST
Every time a web font is downloaded, it calls CSSFontSelector::dispatchInvalidationCallbacks(), which increments m_version. This, in addition to RenderStyle::setFontDescription() always creating new Font objects, means that every time a web font finishes downloading, we throw out everything we know about fonts and regenerate everything.
Attachments
Note You need to log in before you can comment on or make changes to this bug.