tor-browser

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

out-of-flow-in-multicolumn-105.html (1397B)


      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-105-ref.html">
      6  <p>Test passes if there is a filled green square and <strong>no red</strong>,
      7    and a vertical 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-x:clip; position:relative; width:100px; height:100px;">
     11        <div style="position:absolute; width:5000px;">
     12          <div style="contain:size; height:10000px;">
     13            <div style="height:9800px; background:red;"></div>
     14            <div style="float:left; width:100px; height:100px; background:green;"></div>
     15            <div style="float:left; width:100px; height:100px;"></div>
     16            <div style="float:left; width:4800px; height:200px; background:red;"></div>
     17          </div>
     18        </div>
     19      </div>
     20    </div>
     21  </div>
     22  <script>
     23    scrollable.scrollTop = 100000;
     24    scrollable.scrollLeft = 100000;
     25    requestAnimationFrame(()=> {
     26      requestAnimationFrame(()=> {
     27        document.documentElement.classList.remove("reftest-wait");
     28      });
     29    });
     30  </script>
     31 </html>