blob: 47b62c0487a02014fa8d70c71f2bdec5f9e9e134 [file] [log] [blame]
<style>
@font-face {
font-family: custom;
src: url(no-such-file.ttf);
}
</style>
<!-- content: counter(page) causes the style diff to be "detach" -->
<div style="font-family: custom; content: counter(page);">
<br>PASS
</div>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
// Must wait for the font to fail to load.
setTimeout(function() { layoutTestController.notifyDone() }, 100);
}
document.execCommand("SelectAll");
</script>