blob: 7cba16e47de0e2da97b02a533e3460afe296ce54 [file] [log] [blame]
<style>
@font-face {
font-family: ahem;
src: local(unquoted name), url(../../resources/Ahem.ttf);
}
@font-face {
font-family: invalid;
src: local(invalid '' name), url(../../resources/Ahem.ttf);
}
</style>
<p>This test ensures that unquoted font names are allowed in local().</p>
<p>The text below should be a series of black boxes.</p>
<p style="font-family: ahem;">FAIL</p>
<p>The text below should not be a series of black boxes.</p>
<p style="font-family: invalid;">SUCCESS</p>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
document.documentElement.offsetTop;
setTimeout(function() { testRunner.notifyDone(); }, 200);
}
</script>