tor-browser

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

column-wrap-no-constraints-002.html (1403B)


      1 <!DOCTYPE html>
      2 <title>Auto height, column balancing, and column-wrap:wrap, forced breaks</title>
      3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      4 <link rel="help" href="https://drafts.csswg.org/css-multicol-2/#cwr">
      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 <!-- Rows are allowed to wrap, and, although the block-size of the multicol
      8     container is unconstrained, and there's no column-height specified, there
      9     should be multiple rows, due to forced breaks. -->
     10 <div style="position:relative; width:100px; height:100px; background:red;">
     11  <div style="columns:2; gap:10px 0; column-wrap:wrap;">
     12    <div style="break-after:column; height:20px; background:green;"></div>
     13    <div style="break-after:column; height:20px; background:green;"></div>
     14    <div style="break-after:column; height:50px; background:green;"></div>
     15    <div style="break-after:column; height:50px; background:green;"></div>
     16    <div style="break-after:column; height:10px; background:green;"></div>
     17    <div style="break-after:column; height:10px; background:green;"></div>
     18  </div>
     19  <div style="position:absolute; top:20px; width:100%; height:10px; background:green;"></div>
     20  <div style="position:absolute; top:80px; width:100%; height:10px; background:green;"></div>
     21 </div>