out-of-flow-in-multicolumn-119.html (975B)
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 display: flex; 20 position: relative; 21 border-block: 20px solid green; 22 block-size: 160px; 23 } 24 25 .abspos { 26 position: absolute; 27 inline-size: 100%; 28 block-size: 160px; 29 background: green; 30 } 31 </style> 32 33 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 34 <div class="multicol"> 35 <div class="container"> 36 <div class="abspos"></div> 37 </div> 38 </div>