tor-browser

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

out-of-flow-in-multicolumn-073.html (1012B)


      1 <!DOCTYPE html>
      2 <title>
      3  Nested fixedpos should be affected by relative positioned offset.
      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    columns: 2;
     10    column-fill: auto;
     11    height: 100px;
     12    width: 100px;
     13    column-gap: 0px;
     14    margin-top: -100px;
     15    margin-left: -150px;
     16  }
     17  .box {
     18    width: 50px;
     19    height: 200px;
     20  }
     21  .fixed {
     22    position: fixed;
     23    background: green;
     24  }
     25  .abs {
     26    position: absolute;
     27  }
     28  .rel {
     29    position: relative;
     30    top: 100px;
     31    left: 50px;
     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" style="transform: translateX(0);">
     37    <div class="abs box" style="background: red; top: 100px; left: 50px;"></div>
     38    <div class="rel">
     39      <div class="abs">
     40        <div class="fixed box"></div>
     41      </div>
     42    </div>
     43  </div>
     44 </div>