tor-browser

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

out-of-flow-in-multicolumn-068.html (922B)


      1 <!DOCTYPE html>
      2 <title>
      3  Out-of-flow positioned element in multicol with inline 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 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      9 <style>
     10  .multicol {
     11    columns: 2;
     12    column-fill: auto;
     13    height: 100px;
     14    width: 100px;
     15    column-gap: 0px;
     16    color: red;
     17    font: 20px/1 Ahem;
     18    margin-left: -5px;
     19  }
     20  .abs {
     21    position: absolute;
     22    width: 50px;
     23    top: 0px;
     24    left: 0px;
     25    bottom: 0px;
     26    background: green;
     27  }
     28 </style>
     29 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     30 <div class="multicol">
     31  <div style="margin-left: 5px;">
     32    <span style="position: relative;">
     33      AA AA AA AA AA
     34      AA AA AA AA AA
     35      <div class="abs"></div>
     36    </span>
     37  </div>
     38 </div>