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