blob: 1d5807d9f6369686f3bcd150fd90d095173b7a0f [file] [log] [blame]
<head>
<style>
@font-face {
font-family: 'remote';
src: url(resources/Ahem.ttf);
}
div { width: 100px; height: 100px; background-color: red; font-family: 'remote'; font-size: 20px; color: green; }
</style>
</head>
<body onload="finished()">
<div>
FAIL_<br>
XXXXX<br>
XXXXX<br>
XXXXX<br>
_FAIL<br>
</div>
<script>
if (window.layoutTestController)
layoutTestController.waitUntilDone();
// Kick off loading of the font
document.body.offsetTop;
function finished()
{
if (window.layoutTestController)
layoutTestController.notifyDone();
}
</script>
</body>