tor-browser

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

text-clipped-offscreen-move-onscreen-ref.html (518B)


      1 <!doctype HTML>
      2 <title>Reftest Reference</title>
      3 <link rel="author" title="Chris Harrelson" href="mailto:chrishtr@chromium.org">
      4 <div style="position: relative; overflow: hidden; width: 300px; height: 400px;">
      5  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="300px" height="400px">
      6    <text id="target" x="15" y="150">VISIBLE</text>
      7  </svg>
      8 </div>
      9 <script>
     10 let target = document.getElementById('target');
     11 onload = function() {
     12  requestAnimationFrame(() => target.setAttribute('y', 150));
     13 };
     14 </script>