Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

48 lines (45 sloc) 1.077 kB
<!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>
Jump to Line
Something went wrong with that request. Please try again.