tor-browser

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

test_disable_scroll_frame_plain.html (564B)


      1 <!DOCTYPE HTML>
      2 <html scrolling="false">
      3 <head>
      4  <meta charset="utf-8">
      5  <title>disable scroll frame exposed</title>
      6  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      7  <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
      8 </head>
      9 <body>
     10 <p id="display"></p>
     11 <div id="content" style="display: none"></div>
     12 <pre id="test"></pre>
     13 <div style="height: 300vh"></div>
     14 <script>
     15  // Ensure that disabling the scroll frame isn't exposed to content.
     16  ok(document.scrollingElement.scrollTopMax > 0, "Scrolling should still work.");
     17 </script>
     18 </body>
     19 </html>