tor-browser

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

out-of-flow-in-multicolumn-071.html (927B)


      1 <!DOCTYPE html>
      2 <title>
      3  Out-of-flow positioned element affects nested column balancing.
      4 </title>
      5 <link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking">
      6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      7 <style>
      8  .multicol {
      9    column-count: 2;
     10    column-gap: 0px;
     11  }
     12  #outer {
     13    width: 100px;
     14  }
     15  #inner {
     16    width: 50px;
     17    column-fill: auto;
     18  }
     19  .abs {
     20    position: absolute;
     21    background-color: green;
     22    height: 400px;
     23    width: 25px;
     24  }
     25  #target {
     26    background-color: red;
     27    position: relative;
     28    height: 100px;
     29    width: 100px;
     30    top: -100px;
     31    z-index: -1;
     32  }
     33 </style>
     34 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     35 <div class="multicol" id="outer">
     36  <div class="multicol" id="inner">
     37    <div style="position: relative;">
     38      <div class="abs"></div>
     39    </div>
     40  </div>
     41 </div>
     42 <div id="target"></div>