tor-browser

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

nested-sticky-1-ref.html (617B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <style>
      4 html, body {
      5    margin: 0;
      6 }
      7 thead tr {
      8    position: relative;
      9    top: 50px;
     10 }
     11 th {
     12    background-color: green;
     13    height: 20px;
     14 }
     15 td {
     16    background-color: blue;
     17 }
     18 </style>
     19 <body>
     20 <table cellspacing=0>
     21    <thead>
     22        <tr><th></th></tr>
     23    </thead>
     24    <tbody>
     25        <tr><td style="height: 2000px; vertical-align: top">table cell</td></tr>
     26    </tbody>
     27 </table>
     28 <script>
     29  addEventListener('load', function() {
     30    document.scrollingElement.scrollTop = 50;
     31    document.documentElement.classList.remove('reftest-wait');
     32  }, false);
     33 </script>
     34 </html>