tizen beta release
[profile/ivi/webkit-efl.git] / LayoutTests / fast / css / font-face-unquoted-local.html
1 <style>
2 @font-face {
3     font-family: ahem;
4     src: local(unquoted name), url(../../resources/Ahem.ttf);
5 }
6 @font-face {
7     font-family: invalid;
8     src: local(invalid '' name), url(../../resources/Ahem.ttf);
9 }
10 </style>
11 <p>This test ensures that unquoted font names are allowed in local().</p>
12
13 <p>The text below should be a series of black boxes.</p>
14 <p style="font-family: ahem;">FAIL</p>
15
16 <p>The text below should not be a series of black boxes.</p>
17 <p style="font-family: invalid;">SUCCESS</p>
18
19 <script>
20 if (window.layoutTestController) {
21     layoutTestController.waitUntilDone();
22     document.documentElement.offsetTop;
23     setTimeout(function() { layoutTestController.notifyDone(); }, 200);
24 }
25 </script>