tor-browser

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

test_bug355213.xhtml (907B)


      1 <html xmlns="http://www.w3.org/1999/xhtml">
      2 <!--
      3 https://bugzilla.mozilla.org/show_bug.cgi?id=355213
      4 -->
      5 <head>
      6  <title>Test for Bug 355213</title>
      7  <script src="/tests/SimpleTest/SimpleTest.js"></script>        
      8  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
      9 </head>
     10 <body>
     11 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=355213">Mozilla Bug 355213</a>
     12 <p id="display"></p>
     13 <div id="content" style="display: none">
     14  
     15 </div>
     16 <pre id="test">
     17 <script class="testbody" type="text/javascript">
     18 <![CDATA[
     19 
     20 /** Test for Bug 355213 */
     21  var firstWidth = document.getElementById('display').offsetWidth;
     22  SimpleTest.waitForExplicitFinish();
     23  addLoadEvent(
     24    function() {
     25      is(firstWidth, document.getElementById('test').offsetWidth,
     26         "Width should not change");
     27    });
     28  addLoadEvent(SimpleTest.finish);
     29 
     30 ]]>
     31 </script>
     32 </pre>
     33 </body>
     34 </html>