tor-browser

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

multi-line-column-flex-fragmentation-015.html (2207B)


      1 <!DOCTYPE html>
      2 <title>
      3  Tests that flex-items get pushed down due to a previous flex-item expanding as
      4  a result of fragmentation.
      5 </title>
      6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
      7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      8 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
      9 <div style="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; background: red;">
     10  <div style="display: flex; flex-direction: column; flex-wrap: wrap; height: 500px;">
     11    <div style="background: green; width: 10px;">
     12      <div style="contain: size; width: 10px; height: 60px;"></div>
     13      <div style="contain: size; width: 25px; height: 50px;"></div>
     14    </div>
     15    <div style="background: green; order: -1; width: 10px;">
     16      <div style="contain: size; width: 10px; height: 80px;"></div>
     17      <div style="contain: size; width: 10px; height: 30px;"></div>
     18    </div>
     19    <div style="background: green; width: 10px;">
     20      <div style="contain: size; width: 10px; height: 20px;"></div>
     21      <div style="contain: size; width: 10px; height: 100px; background: white;"></div>
     22    </div>
     23    <div style="background: green; width: 10px;">
     24      <div style="contain: size; width: 25px; height: 50px;"></div>
     25      <div style="contain: size; width: 10px; height: 60px;"></div>
     26    </div>
     27    <div style="background: green; order: -1; width: 10px;">
     28      <div style="contain: size; width: 10px; height: 30px;"></div>
     29      <div style="contain: size; width: 10px; height: 100px;"></div>
     30    </div>
     31    <div style="background: green; width: 10px;">
     32      <div style="contain: size; width: 10px; height: 20px;"></div>
     33      <div style="contain: size; width: 10px; height: 100px;"></div>
     34    </div>
     35    <div style="background: green; width: 10px;">
     36      <div style="contain: size; width: 10px; height: 40px;"></div>
     37      <div style="contain: size; width: 10px; height: 20px;"></div>
     38    </div>
     39    <div style="background: green; width: 10px;">
     40      <div style="contain: size; width: 10px; height: 20px;"></div>
     41      <div style="contain: size; width: 10px; height: 100px;"></div>
     42    </div>
     43  </div>
     44 </div>