tor-browser

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

relative-row-animation-1.html (627B)


      1 <!DOCTYPE HTML>
      2 <title>Testcase, bug 845837</title>
      3 <meta charset="UTF-8">
      4 <!--
      5 https://bugzilla.mozilla.org/show_bug.cgi?id=845837
      6 -->
      7 
      8 <div style="height: 20px"></div>
      9 
     10 <table border>
     11  <tr id="tr" style="position: relative">
     12    <td>hello
     13 </table>
     14 
     15 <script>
     16 var tr = document.getElementById("tr");
     17 tr.offsetTop;
     18 tr.style.top = '20px';
     19 tr.offsetTop;
     20 tr.style.fontSize = '100px';
     21 tr.offsetTop;
     22 tr.style.fontSize = '';
     23 tr.offsetTop;
     24 tr.style.top = '0px';
     25 tr.offsetTop;
     26 // Just check that we have no relative positioning applied when we're done,
     27 // since we don't currently support relative positioning on table rows.
     28 </script>