apavlov@chromium.org | f48b3f4 | 2012-06-27 11:35:06 +0000 | [diff] [blame] | 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> |