[Webkit-unassigned] [Bug 172210] Web fonts loads inconsistently in WebKit based browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 19 04:14:45 PDT 2017


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

--- Comment #5 from Roland Soos <roland at nextendweb.com> ---
I just tried with the nightly: 10.1 (12603.1.30.0.34, r217072)

Here is the result, which is a fail I think. It seems like that it marks the fonts inactive  if their was not able to load when the page load event fired. 
1495191890700 - All family renderable
1495191890699 - Family Kaushan Script renderable
1495191890698 - Family Lato renderable
1495191890697 - Family Merriweather renderable
1495191890696 - Family Paytone One renderable
1495191888962 - Family Montserrat renderable
1495191880956 - Fonts inactive
1495191877876 - Page loaded
1495191877830 - Default width: 531
1495191877817 - Font load started
1495191877816 - Window ready

In this case fonts were marked inactive and then loaded after a while.

I think the load event of the page should fire if all of the resources loaded, I mean web font families too. I seems like the unload event does not wait for them to happen. Also I think the browser should fire some kind of event if able to correctly render a font family after the browser told that it can not render/load it.

Also in this fail case document.fonts status shouldn't be loaded and the ready deferred shouldn't be resolved.

-- 
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/20170519/be099726/attachment.html>


More information about the webkit-unassigned mailing list