tor-browser

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

out-of-flow-in-multicolumn-035.html (963B)


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