tor-browser

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

fixed-in-nested-multicol.html (1027B)


      1 <!DOCTYPE html>
      2 <title>
      3  Nested fixedpos in a nested fragmentation context where the outer
      4  multicol is the containing block.
      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  }
     14  #outer {
     15    height: 100px;
     16    width: 100px;
     17    transform: translateX(0);
     18  }
     19  #inner {
     20    width: 50px;
     21  }
     22  .rel {
     23    position: relative;
     24  }
     25  .abs {
     26    position: absolute;
     27  }
     28  .fixed {
     29    position: fixed;
     30    height: 100px;
     31    width: 100px;
     32    top: -100px;
     33    background:green;
     34  }
     35 </style>
     36 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     37 <div style="height: 100px; width: 100px; background: red;"></div>
     38 <div class="multicol" id="outer">
     39  <div class="multicol" id="inner">
     40    <div class="rel">
     41      <div class="abs">
     42        <div class="fixed"></div>
     43      </div>
     44    </div>
     45  </div>
     46 </div>