Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / font-face-unquoted-local.html
blob7cba16e47de0e2da97b02a533e3460afe296ce54
1 <style>
2 @font-face {
3 font-family: ahem;
4 src: local(unquoted name), url(../../resources/Ahem.ttf);
6 @font-face {
7 font-family: invalid;
8 src: local(invalid '' name), url(../../resources/Ahem.ttf);
10 </style>
11 <p>This test ensures that unquoted font names are allowed in local().</p>
13 <p>The text below should be a series of black boxes.</p>
14 <p style="font-family: ahem;">FAIL</p>
16 <p>The text below should not be a series of black boxes.</p>
17 <p style="font-family: invalid;">SUCCESS</p>
19 <script>
20 if (window.testRunner) {
21 testRunner.waitUntilDone();
22 document.documentElement.offsetTop;
23 setTimeout(function() { testRunner.notifyDone(); }, 200);
25 </script>