Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / svg-fonts-no-latin-glyph.html
blob2772acfddc5cbea54561448077bfa331c0951c2a
1 <head>
2 <style>
3 @font-face {
4 font-family: f;
5 src: url(resources/no-latin-glyph-font.svg#Font) format("svg");
7 </style>
8 <script>
9 function doTest() {
10 var height = document.getElementById('text').offsetHeight;
11 var result = document.getElementById('result');
12 result.innerHTML = 'character height is ' + height + '<br />';
13 if (height == 16)
14 result.innerHTML += 'PASS';
15 else
16 result.innerHTML += 'FAIL';
17 if (window.testRunner)
18 testRunner.notifyDone();
20 </script>
21 </head>
22 <body>
23 <p>Following character should be rendered as an exlamation.</p>
24 <span id="text" style="font-family: f;">&#x3042;</span>
25 <div id="result"></div>
26 <script>
27 document.body.offsetWidth;
28 if (window.testRunner) {
29 testRunner.dumpAsText();
30 testRunner.waitUntilDone();
32 window.addEventListener('load', doTest, true);
33 </script>
34 </body>