tor-browser

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

out-of-flow-in-multicolumn-033.html (930B)


      1 <!DOCTYPE html>
      2 <title>
      3  Nested fixedpos in a multicol with an abspos transform container.
      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-fill: auto;
     11    column-gap: 0px;
     12    height: 100px;
     13    width: 100px;
     14    margin-left: -100px;
     15  }
     16  .rel {
     17    position: relative;
     18  }
     19  .abs {
     20    position: absolute;
     21    width: 50px;
     22    height: 200px;
     23    background: red;
     24    transform: translateX(0);
     25  }
     26  .fixed {
     27    position: fixed;
     28    width: 50px;
     29    height: 200px;
     30    top: 0px;
     31    background: green;
     32  }
     33 </style>
     34 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     35 <div class="multicol">
     36  <div class="rel">
     37    <div style="height: 200px;"></div>
     38    <div class="abs">
     39      <div class="fixed"></div>
     40    </div>
     41  </div>
     42 </div>