tor-browser

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

single-line-column-flex-fragmentation-031.html (1092B)


      1 <!DOCTYPE html>
      2 <title>
      3  Tests that a flexbox expands its intrinsic block-size, due to a
      4  flex item fragmenting.
      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 <style>
      9  #flex {
     10    display: flex;
     11    flex-direction: column;
     12    background: green;
     13  }
     14  #flex > div {
     15    width: 20px;
     16  }
     17 </style>
     18 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     19 <div style="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; background: red;">
     20  <div id="flex">
     21    <div>
     22      <div style="contain: size; width: 20px; height: 70px;"></div>
     23      <div style="contain: size; width: 20px; height: 40px;"></div>
     24    </div>
     25    <div style="margin-top: 10px; width: 20px;">
     26      <div style="contain: size; width: 20px; height: 80px;"></div>
     27      <div style="contain: size; width: 20px; height: 40px;"></div>
     28    </div>
     29    <div style="height: 100px; width: 20px;"></div>
     30    <div style="height: 60px; width: 20px;"></div>
     31  </div>
     32 </div>