tor-browser

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

helper_doubletap_zoom_oopif_subframe-4.html (1070B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <script src="apz_test_native_event_utils.js"></script>
      4 <script src="apz_test_utils.js"></script>
      5 <script src="/tests/SimpleTest/SimpleTest.js"></script>
      6 <script src="/tests/SimpleTest/paint_listener.js"></script>
      7 <style>
      8 .container {
      9  background-color: #eee;
     10  width: 200px;
     11  height: 50px;
     12  border: 1px dotted black;
     13  overflow: visible;
     14  margin-top: 200px;
     15 }
     16 </style>
     17 <div class="container"></div>
     18 <script>
     19  let text = '<div id="target" style="width: 100%; height: 10px; background-color: red; position: relative; top: 60px; z-index: -1"></div>';
     20  for (let i = 0; i < 200; i++) {
     21    text += "Text text text text text text text text text text text text text text text text\n";
     22  }
     23  document.querySelector(".container").innerHTML = text;
     24 
     25  // Silence SimpleTest warning about missing assertions by having it wait
     26  // indefinitely. We don't need to give it an explicit finish because the
     27  // entire window this test runs in will be closed after the main browser test
     28  // finished.
     29  SimpleTest.waitForExplicitFinish();
     30 </script>
     31 </html>