summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/font-face-unexpected-end-expected.html
blob: 6452138c3dc907315076cc49410644ae13a5c191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<style>
    @font-face {
        font-family: ahem-family;
        src: url(../../resources/Ahem.otf);
    }
</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>