Bug 458160 - Enable downloadable .otf fonts under Windows. r=roc, sr=vlad.
[wine-gecko.git] / layout / reftests / font-face / ex-unit-1-dynamic.html
blob17ad5f0903dd3587697a6d35d23e617479f62f63
1 <!DOCTYPE HTML>
2 <html class="reftest-wait">
3 <title>ex unit with Ahem font</title>
4 <style type="text/css">
5 html { background: white; }
6 body { font-family: Ahhhem; font-size: 50px;
7 height: 2ex; width: 2ex; position: relative;
8 background: blue; }
9 </style>
10 <script type="application/ecmascript">
11 function run() {
12 document.getElementsByTagName("iframe")[0].contentWindow.arm();
13 document.getElementsByTagName("style")[0].sheet.insertRule(
14 '@font-face { font-family: "Ahhhem"; src: url(../fonts/Ahem.ttf); }',
15 0);
17 </script>
18 <body onload="setTimeout(run, 0)">
19 <iframe style="visibility:hidden;position:absolute;height:100%;width:100%" src="resize-detector-iframe.html"></iframe></p>
20 </body>