tor-browser

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

1464288-1.html (1153B)


      1 <!DOCTYPE html>
      2 <html reftest-async-scroll
      3      reftest-displayport-x="0" reftest-displayport-y="0"
      4      reftest-displayport-w="800" reftest-displayport-h="2000"
      5      reftest-async-scroll-x="0" reftest-async-scroll-y="400"
      6      class="reftest-wait">
      7 <head>
      8 
      9 <style>
     10 
     11 html {
     12  scrollbar-width: none;
     13 }
     14 
     15 body {
     16  margin: 0;
     17  height: 4000px;
     18 }
     19 
     20 div {
     21  left: 200px;
     22  top: 200px;
     23  width: 200px;
     24  height: 200px;
     25 }
     26 
     27 .scrolled {
     28  position: absolute;
     29  z-index: 1;
     30 }
     31 
     32 .fixed {
     33  position: fixed;
     34  background-color: red;
     35 }
     36 
     37 </style>
     38 </head>
     39 <body>
     40 
     41 <div style="opacity:0.5">
     42  <div class="scrolled" style="top: 200px; background-color: green"></div>
     43  <div class="scrolled" style="top: 600px; background-color:blue" id="scrolled"></div>
     44  <div class="fixed" style="top: 200px"></div>
     45  <div class="fixed" id="fixed" style="top: 200px; width: 100px; height: 100px; z-index: 2; background-color: orange"></div>
     46 </div>
     47 
     48 </body>
     49 
     50 <script>
     51 function doTest() {
     52  document.getElementById("fixed").style.backgroundColor = "red";
     53  document.documentElement.removeAttribute("class");
     54 }
     55 
     56 window.addEventListener("MozReftestInvalidate", doTest);
     57 </script>
     58 </html>