tor-browser

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

388980-1-ref.html (665B)


      1 <html>
      2 <head>
      3 <title>Reftest for bug 388980</title></html>
      4 <script type="text/javascript">
      5 
      6 var text = '<html><head></head><body style="font-size:16px;">'
      7 + '<p><span style="background-color:red;">This paragraph should be red</span></p>'
      8 + '<p><span style="background-color:blue;">This paragraph should be blue</span></p>'
      9 + '<p>This paragraph should not be colored</p>'
     10 + '</body></html>';
     11 
     12 function initIFrame() {
     13 var doc = document.getElementById('theIFrame').contentDocument;
     14 doc.designMode = 'on';
     15 doc.open('text/html');
     16 doc.write(text);
     17 doc.close();
     18 }
     19 </script>
     20 </head>
     21 <body onload="initIFrame()" >
     22 <iframe id="theIFrame">
     23 </iframe>
     24 </body>
     25 </html>