tor-browser

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

sheet-set-switch-1.html (1135B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
      2 "http://www.w3.org/TR/html4/strict.dtd">
      3 <html lang="en-US" class="reftest-wait">
      4 <head>
      5 <title></title>
      6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      7 <style type="text/css" title="Set A">
      8 
      9 @font-face {
     10 	font-family: "MarkA";
     11 	src: url(../fonts/markA.ttf);
     12 }
     13 
     14 </style>
     15 <style type="text/css" title="Set B">
     16 
     17 @font-face {
     18 	font-family: "Mark2B";
     19 	src: url(../fonts/mark2B.ttf);
     20 }
     21 
     22 </style>
     23 <style type="text/css">
     24 
     25 @font-face {
     26 	font-family: "MarkC";
     27 	src: url(../fonts/markC.ttf);
     28 }
     29 
     30 body { font-family: "MarkA", "Mark2B", "MarkC"; }
     31 
     32 </style>
     33 <script type="application/ecmascript">
     34 
     35 function run() {
     36 	// The resize-detector iframe will remove the class attribute.
     37 	document.getElementsByTagName("iframe")[0].contentWindow.arm_for_wider();
     38 
     39 	document.selectedStyleSheetSet = "Set B";
     40 }
     41 
     42 </script>
     43 </head>
     44 <body onload="setTimeout(run, 20)">
     45 
     46 <p style="position:relative; width: max-content">ABC<iframe style="visibility:hidden;position:absolute;height:100%;width:100%" src="resize-detector-iframe.html"></iframe></p>
     47 
     48 </body>
     49 </html>