Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / font-face-unexpected-end.html
blob7e668820151583d29d5c1257f6ffca6f41b9891e
1 <style>
2 @font-face {
3 font-family: ahem-family;
4 src: url(../../resources/Ahem.otf);
5 /* The @font-face rule has no closing brace, so the style sheet is terminated unexpectedly. */
6 </style>
7 <p>
8 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>.
9 </p>
10 <p>Check if a @font-face rule without a closing brace is accepted.</p>
11 <span style="font-family: ahem-family">0123456789ABCDEF</span>
12 <script>
13 document.body.offsetTop;
14 </script>