tor-browser

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

out-of-flow-in-multicolumn-044.html (1180B)


      1 <!DOCTYPE html>
      2 <title>
      3  Relative insets apply to nested fixedpos in a multicol after fragmentation.
      4 </title>
      5 <link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms">
      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: -200px;
     15    margin-top: -50px;
     16  }
     17  .rel {
     18    position: relative;
     19  }
     20  .abs {
     21    position: absolute;
     22  }
     23  .fixed {
     24    position: fixed;
     25    width: 100%;
     26    height: 200px;
     27    background: green;
     28  }
     29 </style>
     30 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     31 <div class="multicol">
     32  <div class="rel" style="top: 50px; left: 50px;">
     33    <div style="transform: translateX(0); height: 200px;">
     34      <div class="abs" style="width: 50px; height: 200px; top: 100px; left: 100px; background: red;"></div>
     35      <div class="rel" style="top: 100px; left: 100px;">
     36        <div class="abs">
     37          <div class="abs">
     38            <div class="fixed" style="background: green;"></div>
     39          </div>
     40        </div>
     41      </div>
     42    </div>
     43  </div>
     44 </div>