tor-browser

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

flex-container-fragmentation-002.html (863B)


      1 <!DOCTYPE html>
      2 <title>
      3  Flex container fragmentation with break-inside: avoid.
      4 </title>
      5 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
      6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      7 <style>
      8  .multicol {
      9    background: red;
     10    column-count: 4;
     11    column-gap: 0px;
     12    height: 100px;
     13    position: relative;
     14    width: 100px;
     15  }
     16  .flex {
     17    background: green;
     18    break-inside: avoid;
     19    display: flex;
     20    width: 25px;
     21  }
     22  .abs {
     23    background: green;
     24    height: 50px;
     25    position: absolute;
     26    width: 25px;
     27    top: 50px;
     28    left: 50px;
     29  }
     30 </style>
     31 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     32 <div class="multicol">
     33  <div class="flex" style="height: 250px;"></div>
     34  <div class="flex" style="height: 100px;"></div>
     35  <div class="abs"></div>
     36 </div>