tor-browser

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

test_bug200089.html (827B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=200089
      5 -->
      6 <head>
      7  <title>Test for Bug 200089</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      9  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     10 </head>
     11 <body>
     12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=200089">Mozilla Bug 200089</a>
     13 <div id="display" style="width: 600px">
     14  <table border="0" id="t" style="width: 300px; margin-left: auto; margin-right: auto">
     15    <tr><td>Cell</td></tr>
     16  </table>
     17 </div>
     18 <div id="content" style="display: none">
     19  
     20 </div>
     21 <pre id="test">
     22 <script type="application/javascript">
     23 
     24 /** Test for Bug 200089 */
     25 is(getComputedStyle($("t"), "").width, "300px",
     26   "Used width should match specified width in this case");
     27 </script>
     28 </pre>
     29 </body>
     30 </html>