tor-browser

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

reftest.html (519B)


      1 <!doctype html>
      2 <html class=reftest-wait>
      3 <title>Acid2 reftest</title>
      4 <link rel="match" href="px-reference.html">
      5 <script src="/common/reftest-wait.js"></script>
      6 <style>
      7 * {
      8  margin: 0;
      9  padding: 0;
     10  border: 0;
     11 }
     12 iframe {
     13  width: 400px;
     14  height: 300px;
     15 }
     16 </style>
     17 <script>
     18 function frameLoaded(frame) {
     19  let fwin = frame.contentWindow;
     20  let fdoc = frame.contentDocument;
     21  fdoc.querySelector("#top").scrollIntoView();
     22  takeScreenshot();
     23 }
     24 </script>
     25 <iframe src="test.html" onload="frameLoaded(this)"></iframe>