single-line-row-flex-fragmentation-041.html (1041B)
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 and a stretched item. 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; position: relative;"> 11 <div style="margin-bottom: 40px; background: green;"> 12 <div style="height: 50px; width: 25px;"> 13 <div style="height: 100px; width: 25px;"></div> 14 </div> 15 <div style="height: 60px; width: 25px; break-inside: avoid;"></div> 16 </div> 17 <div style="width: 25px; background: green;"></div> <!-- this should stretch to 200px --> 18 <div style="position: absolute; height: 40px; width: 50%; top: 60px; left: 50px; background: green;"></div> 19 </div> 20 </div>