tor-browser

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

resize-multicol-with-fixed-size-children-002.html (929B)


      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://www.w3.org/TR/css-multicol-1/#columns">
      5  <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      6  <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
      7  <div style="width:100px; height:100px; background:red;">
      8    <div id="multicol" style="columns:2; gap:0; column-fill:auto; width:60px; height:100px;">
      9      <div style="width:50px;">
     10        <div>
     11          <div>
     12            <div style="height:200px; background:green;"></div>
     13          </div>
     14        </div>
     15      </div>
     16    </div>
     17  </div>
     18 
     19  <script>
     20    requestAnimationFrame(()=> {
     21      requestAnimationFrame(()=> {
     22        multicol.style.width = "100px";
     23        document.documentElement.classList.remove("reftest-wait");
     24      });
     25    });
     26  </script>
     27 </html>