tor-browser

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

test_bug396367-2.html (1068B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=396367
      5 -->
      6 <head>
      7  <title>Test for Bug 396367</title>
      8  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
      9  <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
     10  <style>select::after { content:"m"; }</style>
     11  <script>
     12    SimpleTest.waitForExplicitFinish();
     13 
     14    function finish() {
     15      ok(true, "didn't crash");
     16      top.docShell.browsingContext.textZoom = 1;
     17      SimpleTest.finish();
     18    }
     19  </script>
     20 </head>
     21 <body>
     22 
     23 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=396367">Mozilla Bug 396367</a>
     24 <p id="display"></p>
     25 <div id="content" style="display: none">
     26 
     27 </div>
     28 <pre id="test">
     29 
     30 <div style="overflow: scroll; float: left;">
     31 
     32 <select></select>
     33 
     34 <li style="display: table-cell;">
     35 
     36 <script>
     37 top.docShell.browsingContext.textZoom = Math.floor(10 * Math.random()) / 4 + 0.2;
     38 document.documentElement.offsetHeight;
     39 setTimeout(finish, 0);
     40 </script>
     41 </li>
     42 </div>
     43 
     44 
     45 </pre>
     46 </body>
     47 </html>