Bug 135390
Summary: | [CSS Font Loading][meta] Implement CSS Font Loading | ||
---|---|---|---|
Product: | WebKit | Reporter: | Bear Travis <betravis> |
Component: | CSS | Assignee: | Myles C. Maxfield <mmaxfield> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | fred.wang, jdaggett, lmcliste, mmaxfield, simon.fraser, stein, syoichi, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar, WebExposed |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://dev.w3.org/csswg/css-font-loading/ | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=153346 | ||
Bug Depends on: | 98395, 112116, 135340, 135393, 135420, 135473, 136044, 136501, 136502, 136504, 136505, 137401, 138755, 158884 | ||
Bug Blocks: |
Bear Travis
Implement the CSS Font Loading specification. There is already an older implementation in place. The new work is to update it to the current spec and enable it.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
John Daggett
The spec has changed radically since the initial implementation work was done. Specifically, the Font Loading API is now Promise-based, so the update will be a non-trivial amount of work.
Latest spec:
http://dev.w3.org/csswg/css-font-loading/
Radar WebKit Bug Importer
<rdar://problem/18202413>
Bram Stein
We (Adobe Typekit) are using this API quite heavily in our "kits" to detect font load events. If this API were supported by WebKit, we could avoid the expensive fallback strategy of polling a element for its width every N milliseconds.
It would be great if this feature received some attention.
For reference, I've described our use of the API in more detail here:
http://blog.typekit.com/2015/12/16/better-font-events-with-the-native-font-loading-api/
Myles C. Maxfield
Assigning to myself.
Myles C. Maxfield
*** This bug has been marked as a duplicate of bug 153346 ***