tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ex-unit-1-dynamic.html (709B)


      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);
     16 }
     17 </script>
     18 <body onload="setTimeout(run, 20)">
     19 <iframe style="visibility:hidden;position:absolute;height:100%;width:100%" src="resize-detector-iframe.html"></iframe>
     20 </body>