tor-browser

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

out-of-flow-in-multicolumn-040.html (1178B)


      1 <!DOCTYPE html>
      2 <title>
      3  Nested fixedpos static position in a nested multicol with transform container
      4  in outer multicol.
      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-left: -100px;
     18 }
     19 #inner {
     20  width: 50px;
     21  height: 700px;
     22  margin-left: -425px;
     23 }
     24 .rel {
     25  position: relative;
     26 }
     27 .abs {
     28  position: absolute;
     29 }
     30 .fixed {
     31  position: fixed;
     32  width: 50px;
     33  height: 200px;
     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 class="multicol" id="outer">
     39  <div style="height: 200px;"></div>
     40  <div style="transform: translateX(0);">
     41    <div style="height: 200px; background-color: red;"></div>
     42    <div class="multicol" id="inner">
     43      <div class="rel">
     44        <div style="height: 800px;"></div>
     45        <div class="abs">
     46          <div style="height: 400px;"></div>
     47          <div class="fixed"></div>
     48        </div>
     49      </div>
     50    </div>
     51  </div>
     52 </div>