A small TIL, Chrome has been championing this proposal, which I believe would solve the performance concerns that have been raised before about using web fonts, allowing us to have a more fine grained control about the behavior.
Right now it is Chrome only, and Firefox and Webkit have it in development.
Something to keep in mind for the near future!
Links:
- Spec proposal https://tabatkins.github.io/specs/css-font-display/ - Browser usage http://caniuse.com/#search=font-display - MDN docs https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display - Feature detection https://jsfiddle.net/p7g8y7du/ - Controlling Font Performance with font-display https://developers.google.com/web/updates/2016/02/font-display - Video [1m40s] Font-Display: Micro Tip #14 - Supercharged https://youtu.be/-lPTshDcr7o
wikitech-l@lists.wikimedia.org