5 src: url(resources/no-latin-glyph-font.svg#Font) format(
"svg");
10 var height
= document
.getElementById('text').offsetHeight
;
11 var result
= document
.getElementById('result');
12 result
.innerHTML
= 'character height is ' + height
+ '<br />';
14 result
.innerHTML
+= 'PASS';
16 result
.innerHTML
+= 'FAIL';
17 if (window
.testRunner
)
18 testRunner
.notifyDone();
23 <p>Following character should be rendered as an exlamation.
</p>
24 <span id=
"text" style=
"font-family: f;">あ</span>
25 <div id=
"result"></div>
27 document
.body
.offsetWidth
;
28 if (window
.testRunner
) {
29 testRunner
.dumpAsText();
30 testRunner
.waitUntilDone();
32 window
.addEventListener('load', doTest
, true);