Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 48 lines (45 sloc) 1.077 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
<!doctype html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>Show me Fonts</title>

  <!--
An external script will block page rendering in IE, but we take care to
correct that behavior.
-->
  <script type="text/javascript" src="/webfont.js"></script>
  <script type="text/javascript">
    WebFont.load({
      google: {
        families: ['Droid Sans'],
        api: '/fonts/api',
      }
    });
  </script>

  <style type="text/css">
    .serif {
      font-family: serif;
    }
    .droid {
      font-family: 'Droid Sans', serif;
    }
  </style>
</head>
<body>
  <h1 class="serif">
    I am a serif font.
  </h1>
  <h1 class="droid">
    I am Droid Sans.
  </h1>
  <hr>
  <p>
    <a href="#" onclick="document.getElementsByTagName('body')[0].style.color = '#fff';return false;">Hide Page</a> |
    <a href="/ie-fast-js.html">Reload Cached</a>
  </p>
  <p>
    The goal of this page is to show non-blocking behavior in MSIE. This
    causes IE to load fonts without blocking the entire page.
  </p>
</body>
</html>
Something went wrong with that request. Please try again.