tor-browser

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

out-of-flow-in-multicolumn-061.html (1093B)


      1 <!DOCTYPE html>
      2 <title>
      3  Nested out-of-flow positioned element in multicol - the relative offset
      4  should apply to the OOF descendant after fragmentation.
      5 </title>
      6 <link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking">
      7 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      8 <style>
      9  .multicol {
     10    column-count: 2;
     11    column-fill: auto;
     12    column-gap: 0px;
     13    height: 100px;
     14    width: 100px;
     15    margin-left: -100px;
     16  }
     17  .rel {
     18    position: relative;
     19  }
     20  .oof {
     21    background-color: green;
     22    height: 100px;
     23    width: 50px;
     24  }
     25  #abs {
     26    position: absolute;
     27    top: 100px;
     28  }
     29  #fixed {
     30    position: fixed;
     31    top: 0px;
     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">
     37  <div style="transform: translateX(0);">
     38    <div class="rel" style="left: 100px;">
     39      <div style="height: 200px; width: 50px; background: red;"></div>
     40      <span class="oof" id="abs">
     41        <div class="oof" id="fixed"></div>
     42      </span>
     43    </div>
     44  </div>
     45 </div>