upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / fast / css / font-face-opentype.html
1 <style>
2     @font-face {
3         font-family: family1;
4         src: url(../../resources/Ahem.otf);
5     }
6 </style>
7 <p>
8     Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=34735">https://bugs.webkit.org/show_bug.cgi?id=34735</a> [Chromium] OpenType font with CFF glyphs is not handled correctly on Windows XP</i>.
9 </p>
10 <p>Check if glyphs in Ahem.otf can be rendered correctly. If the test passes, you should see dozens of black square characters below:</p>
11 <span style="font-family: family1">!"#$%&amp;()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNO</span>
12 <span style="font-family: family1">PQRSTUVWXYZ[\]^_`abcdefghijklmnoqrstuvwxyz{|}~</span>
13 <!-- space, single-quote, and small p are omitted since they are not black squares -->
14 <p>Check if glyphs not in Ahem.otf can be rendered using a fallback font. If the test passes, you should see a single-quote character below:</p>
15 <span style="font-family: family1">'</span>
16 <!-- Ahem font does not have a glyph for ' -->
17 <script>
18     document.body.offsetTop;
19 </script>