tor-browser

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

out-of-flow-in-multicolumn-118.html (958B)


      1 <!DOCTYPE html>
      2 <title>CSS Break Test: Fragmentation of abspos element in a vertical-rl multicol container</title>
      3 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      4 <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      5 <link rel="help" href="https://drafts.csswg.org/css-position-3/#abspos-breaking">
      6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      7 
      8 <style>
      9 .multicol {
     10  writing-mode: vertical-rl;
     11  block-size: 100px;
     12  inline-size: 100px;
     13  column-count: 2;
     14  column-fill: auto;
     15  column-gap: 0;
     16  background: red;
     17 }
     18 .container {
     19  position: relative;
     20  border-block: 20px solid green;
     21  block-size: 160px;
     22 }
     23 
     24 .abspos {
     25  position: absolute;
     26  inline-size: 100%;
     27  block-size: 160px;
     28  background: green;
     29 }
     30 </style>
     31 
     32 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     33 <div class="multicol">
     34  <div class="container">
     35    <div class="abspos"></div>
     36  </div>
     37 </div>