tor-browser

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

out-of-flow-in-multicolumn-062.html (1147B)


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