[Webkit-unassigned] [Bug 225790] document.fonts.ready is sometimes still resolved too quickly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 13 17:17:40 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=225790

--- Comment #6 from Cameron McCormack (:heycam) <heycam at apple.com> ---
Still, flushing here doesn't 100% solve the problem, since script could in theory do something like:

let fonts = document.fonts;
document.write("<p>some content that would trigger a font load</p>");
onload = function() {
  fonts.ready.then(...)
};

-- 
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/20210514/f0291683/attachment.htm>


More information about the webkit-unassigned mailing list