[Webkit-unassigned] [Bug 137401] [CSS Font Loading] Decrement the font loading count before notifying callbacks
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 3 16:13:50 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=137401
Bear Travis <betravis at adobe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[CSS Font Loading] Fix test |[CSS Font Loading]
|failure |Decrement the font loading
| |count before notifying
| |callbacks
--- Comment #1 from Bear Travis <betravis at adobe.com> 2014-10-03 16:13:48 PST ---
The font loader currently decrements the number of fonts loading after notifying callbacks. This means that the document.fonts.loading will return true when accessed within a callback for document.fonts.loadFont.
We should instead decrement the font loading count before calling callbacks.
This caused the above test failure when the number of fonts loading from JS was added to the loading() test.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list