tor-browser

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

tall-cross-domain-iframe-in-scrolled.sub.html (890B)


      1 <!doctype html>
      2 <html class="reftest-wait">
      3 <title>Rendering of tall cross-domain iframe element in a scrolled window</title>
      4 <link rel="match" href="tall-cross-domain-iframe-in-scrolled.sub-ref.html">
      5 <link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#embedded-content-rendering-rules">
      6 <meta name="assert" content="Checks that tall cross-domain iframe in a scrolled window is correctly rendered">
      7 <iframe id=myframe style="width: 300px; height: 1000px"
      8    src="http://{{domains[www1]}}:{{ports[http][0]}}/html/rendering/replaced-elements/embedded-content/resources/tall.html"></iframe>
      9 <div style="height: 2000px"></div>
     10 <script>
     11  window.scrollTo(0, 700);
     12  myframe.onload = () => {
     13    requestAnimationFrame(() => {
     14      requestAnimationFrame(() => {
     15        document.documentElement.classList.remove('reftest-wait');
     16      });
     17    });
     18  }
     19 </script>
     20 </html>