| testRunner.waitUntilDone(); |
| var d = document.getElementsByTagName('div')[0]; |
| var pre = document.createElement("pre"); |
| pre.innerText = "div height = " + d.clientHeight; |
| document.body.appendChild(pre); |
| src: url(../../resources/Ahem.ttf), url(../../resources/Ahem.ttf#foo) format('svg'); |
| <body onload="setTimeout(test, 300)"> |
| Test that SVG font URL with #hash does not prevent the same URL working for non-SVG font. The div height should be 16 (from the Ahem font). |
| <span style="font-family: myfont">Hello world!</span> |