tor-browser

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

out-of-flow-in-multicolumn-003.html (931B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://www.w3.org/TR/css-break-3/#break-decoration">
      3 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      4 <!-- Tests that empty column fragments are added if an OOF element begins layout
      5     in a fragmentainer that is more than one index beyond the last existing
      6     column fragmentainer. -->
      7 <style>
      8  #multicol {
      9    column-count: 2;
     10    column-fill: auto;
     11    column-gap: 0px;
     12    height: 100px;
     13    width: 100px;
     14    /* Move the multicolumn left to account for the first three empty columns */
     15    position: relative;
     16    left: -150px;
     17  }
     18  .rel {
     19    position: relative;
     20  }
     21  .abs {
     22    position: absolute;
     23    top: 300px;
     24    width: 50px;
     25    height: 200px;
     26    background: green;
     27  }
     28 </style>
     29 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     30 <div id="multicol">
     31  <div class="rel">
     32    <div class="abs"></div>
     33  </div>
     34 </div>