tor-browser

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

move-item.html (646B)


      1 <!DOCTYPE HTML>
      2 <html class="reftest-wait">
      3 <head>
      4    <meta charset="utf-8">
      5    <style type="text/css">
      6      #a_box {
      7        overflow:auto;
      8        width:100px;
      9        height:100px;
     10        border:1px solid black;
     11      }
     12      #item {
     13        width:40px;
     14        height:40px;
     15        position:relative;
     16        background-color:#666;
     17      }
     18    </style>
     19 </head>
     20 <body onload="runTest();">
     21  <div id="a_box">
     22    <div id="item"></div>
     23  </div>
     24 <script>
     25  function runTest() {
     26    document.getElementById("item").style.transform = "translate(80px, 80px)";
     27    document.documentElement.removeAttribute("class");
     28  }
     29 </script>
     30 </body>
     31 </html>