multi-line-row-flex-fragmentation-010.html (1749B)
1 <!DOCTYPE html> 2 <title> 3 Tests that flex-items get pushed down due to a previous flex row expanding as 4 a result of fragmentation. 5 </title> 6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 8 <style> 9 #flex { 10 display: flex; 11 flex-wrap: wrap; 12 } 13 #flex > div { 14 background: green; 15 width: 10px; 16 } 17 </style> 18 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 19 <div style="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; position: relative; background: red;"> 20 <div id="flex"> 21 <div style="position: relative;"> 22 <div style="contain: size; width: 10px; height: 80px;"></div> 23 <div style="contain: size; width: 10px; height: 30px;"></div> 24 <div style="position: absolute; width: 10px; height: 10px; background: green;"></div> 25 </div> 26 <div> 27 <div style="contain: size; width: 10px; height: 70px;"></div> 28 <div style="contain: size; width: 10px; height: 40px;"></div> 29 </div> 30 <div> 31 <div style="contain: size; width: 10px; height: 40px;"></div> 32 <div style="contain: size; width: 10px; height: 80px;"></div> 33 </div> 34 <div style="position: relative;"> 35 <div style="contain: size; width: 10px; height: 80px;"></div> 36 <div style="contain: size; width: 10px; height: 30px;"></div> 37 <div style="position: absolute; width: 10px; height: 50px; background: green;"></div> 38 </div> 39 <div style="height: 100px; width: 20px;"></div> 40 <div style="height: 20px; width: 20px;"></div> 41 </div> 42 <div style="position: absolute; width: 20px; height: 60px; background: green; top: 40px; left: 20px;"></div> 43 </div>