tor-browser

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

out-of-flow-in-multicolumn-036.html (1004B)


      1 <!DOCTYPE html>
      2 <title>
      3  Fixedpos in a nested abspos in a multicol with 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: -300px;
     15  }
     16  .abs {
     17    position: absolute;
     18    width: 50px;
     19    height: 200px;
     20  }
     21  .fixed {
     22    position: fixed;
     23    width: 50px;
     24    height: 200px;
     25    background: green;
     26  }
     27 </style>
     28 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     29 <div class="multicol">
     30  <div style="height: 400px;"></div>
     31  <div style="transform: translateX(0);">
     32    <div style="height: 200px;"></div>
     33    <div class="abs">
     34      <div style="height: 200px;"></div>
     35      <div class="abs" style="top: 0px; background: red;">
     36        <div class="fixed"></div>
     37      </div>
     38    </div>
     39  </div>
     40 </div>