tor-browser

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

multi-line-column-flex-fragmentation-023.html (1347B)


      1 <!DOCTYPE html>
      2 <title>
      3  Multi-line column flex fragmentation: break-before values on the first item
      4  are propagated to the flex container.
      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  .multicol {
     10    column-count: 5;
     11    column-fill: auto;
     12    column-gap: 0px;
     13    height: 100px;
     14    width: 100px;
     15    position: relative;
     16    background: red;
     17  }
     18  .abs {
     19    position: absolute;
     20    width: 20px;
     21    background: green;
     22  }
     23  #flex {
     24    display: flex;
     25    flex-direction: column;
     26    flex-wrap: wrap;
     27    height: 400px;
     28  }
     29  #flex > div {
     30    background: green;
     31    width: 10px;
     32  }
     33 </style>
     34 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     35 <div class="multicol">
     36  <div class="abs" style="top: 50px; height: 50px;"></div>
     37  <div style="width: 20px; height: 50px; background: green;"></div>
     38  <div style="width: 20px; height: 50px; background: green;"></div>
     39  <div id="flex">
     40    <div style="height: 50px;"></div>
     41    <div style="height: 50px;"></div>
     42    <div style="height: 250px;"></div>
     43    <div style="height: 100px; break-before: avoid;"></div>
     44    <div style="height: 50px;"></div>
     45    <div style="height: 50px;"></div>
     46    <div style="height: 150px;"></div>
     47  </div>
     48 </div>