flex-container-fragmentation-011.html (1088B)
1 <!DOCTYPE html> 2 <title> 3 OOF static pos in fragmented flex container with multicol CB, with align center. 4 </title> 5 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 7 <style> 8 .multicol { 9 background: red; 10 column-count: 4; 11 column-gap: 0px; 12 height: 100px; 13 width: 100px; 14 position: relative; 15 } 16 .flex { 17 display: flex; 18 flex-direction: column; 19 justify-content: center; 20 height: 400px; 21 width: 50px; 22 } 23 .flex > div { 24 background: green; 25 height: 100px; 26 width: 25px; 27 } 28 .flex > div > div { 29 height: 50px; 30 width: 25px; 31 } 32 </style> 33 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 34 <div class="multicol"> 35 <div class="flex"> 36 <div style="position:absolute; height:100px;"> 37 <div></div> 38 <div style="background:white;"></div> 39 </div> 40 <div></div> 41 <div> 42 <div></div> 43 <div style="background:red;"></div> 44 </div> 45 <div></div> 46 <div></div> 47 </div> 48 </div>