Bug 219678

Summary: Font loads are triggered too late
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, cdumez, esprehn+autocc, ews-watchlist, ggaren, glenn, gyuyoung.kim, kangil.han, macpherson, menard, webkit-bug-importer
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
wip
ews-feeder: commit-queue-
patch none

Description Antti Koivisto 2020-12-09 05:44:49 PST
CSSFontSelector triggers font loads on zero duration timer after style resolution. This can get delayed substantially and all sorts of less important loads may go out first.
Comment 1 Antti Koivisto 2020-12-09 06:41:10 PST
Created attachment 415751 [details]
wip
Comment 2 Antti Koivisto 2020-12-09 09:09:32 PST
Created attachment 415766 [details]
patch
Comment 3 Geoffrey Garen 2020-12-09 11:07:58 PST
Comment on attachment 415766 [details]
patch

r=me
Comment 4 EWS 2020-12-09 11:30:35 PST
Committed r270590: <https://trac.webkit.org/changeset/270590>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 415766 [details].