Sha256: 63a2f55e66a5c964b9a6c514f335902a6b08f11e779d8bf2c78a0114a4340835

Contents?: true

Size: 867 Bytes

Versions: 91

Compression:

Stored size: 867 Bytes

Contents

<!doctype html>
<html>
<head>
  <link href="/basic.css" rel="stylesheet" type="text/css">
  <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">
    h1 {
      visibility: hidden;
    }
    html.wf-active h1 {
      visibility: visible;
      font-family: 'Droid Sans';
    }
  </style>
</head>
<body>
  <h1>
    Hello World. I am Droid Sans.
  </h1>
  <hr>
  <p>
    <a href="#" onclick="document.getElementsByTagName('body')[0].style.color = '#fff';return false;">Hide Page</a> |
    <a href="/event-css-active.html">Reload Cached</a>
  </p>
  <p>
    The goal of this page is to use CSS to hide the headline until its font
    has completely rendered.
  </p>
</body>
</html>

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
webfontloader-1.6.28 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.27 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.26 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.25 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.24 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.23 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.22 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.21 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.20 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.19 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.18 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.16 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.15 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.14 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.13 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.12 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.11 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.10 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.9 lib/webfontloader/demo/public/event-css-active.html
webfontloader-1.6.8 lib/webfontloader/demo/public/event-css-active.html