tor-browser

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

out-of-flow-in-multicolumn-106.html (1366B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3  <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      4  <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1395037">
      5  <link rel="match" href="out-of-flow-in-multicolumn-106-ref.html">
      6  <p>Test passes if there is a filled green square and <strong>no red</strong>,
      7    and a horizontal scrollbar (unless overlay scrollbars are enabled).</p>
      8  <div id="scrollable" style="overflow:auto; width:200px; height:200px;">
      9    <div style="columns:2; column-fill:auto; height:100px;">
     10      <div style="overflow-y:clip; position:relative; width:100px; height:100px;">
     11        <div style="position:absolute; width:5000px;">
     12          <div style="contain:size; height:10000px;">
     13            <div style="float:left; width:4800px; height:200px; background:red;"></div>
     14            <div style="float:left; width:100px; height:100px; background:green;"></div>
     15            <div style="float:left; clear:left; width:5000px; height:9800px; background:red;"></div>
     16          </div>
     17        </div>
     18      </div>
     19    </div>
     20  </div>
     21  <script>
     22    scrollable.scrollTop = 100000;
     23    scrollable.scrollLeft = 100000;
     24    requestAnimationFrame(()=> {
     25      requestAnimationFrame(()=> {
     26        document.documentElement.classList.remove("reftest-wait");
     27      });
     28    });
     29  </script>
     30 </html>