tor-browser

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

fixed-in-nested-multicol-with-transform-container.html (1285B)


      1 <!DOCTYPE html>
      2 <title>
      3  Nested fixedpos static position in a nested multicol with transform containing
      4  block.
      5 </title>
      6 <link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking">
      7 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      8 <style>
      9  .multicol {
     10    column-count: 2;
     11    column-fill: auto;
     12    column-gap: 0px;
     13  }
     14  #outer {
     15    height: 100px;
     16    width: 100px;
     17    margin-top: -200px;
     18    margin-left: -275px;
     19  }
     20  #inner {
     21    width: 50px;
     22    height: 400px;
     23  }
     24  .rel {
     25    position: relative;
     26  }
     27  .abs {
     28    position: absolute;
     29  }
     30  .fixed {
     31    position: fixed;
     32    width: 100px;
     33    height: 100px;
     34    background: green;
     35  }
     36 </style>
     37 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     38 <div style="transform: translateX(0);">
     39  <div style="height: 100px; width: 100px; background-color: red;"></div>
     40  <div class="multicol" id="outer">
     41      <div style="height: 200px;"></div>
     42      <div class="multicol" id="inner">
     43          <div class="rel">
     44            <div style="height: 400px;"></div>
     45            <div class="abs">
     46              <div style="height: 400px; width:25px;"></div>
     47              <div class="fixed"></div>
     48            </div>
     49          </div>
     50      </div>
     51    </div>
     52  </div>