blob: 7e668820151583d29d5c1257f6ffca6f41b9891e [file] [log] [blame]
<style>
@font-face {
font-family: ahem-family;
src: url(../../resources/Ahem.otf);
/* The @font-face rule has no closing brace, so the style sheet is terminated unexpectedly. */
</style>
<p>
Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=89980">https://bugs.webkit.org/show_bug.cgi?id=89980</a> Unexpected end of style sheet in @font-face rule discards it rather than closes all open constructs</i>.
</p>
<p>Check if a @font-face rule without a closing brace is accepted.</p>
<span style="font-family: ahem-family">0123456789ABCDEF</span>
<script>
document.body.offsetTop;
</script>