multi-line-row-flex-fragmentation-062.html (1014B)
1 <!DOCTYPE html> 2 <title> 3 Tests that the margin-bottom is taken into account when fragmenting with expansion. 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 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 8 <div style="column-count: 2; height: 100px; width: 100px; column-gap: 0; column-fill: auto; background: red; position: relative;"> 9 <div style="display: flex; flex-wrap: wrap; width: 50px;"> 10 <div style="width:50px; margin-bottom: 20px; background: green;"> 11 <div style="height: 50px;"> 12 <div style="height: 100px;"></div> 13 </div> 14 <div style="height: 60px; break-inside: avoid;"></div> 15 </div> 16 <div style="width: 50px; height: 20px; background: green;"></div> <!-- should still be 20px below after expansion --> 17 </div> 18 <div style="position: absolute; top: 60px; height: 20px; width: 50px; background: green;"></div> 19 </div>