tor-browser

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

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


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