multi-line-row-flex-fragmentation-061.html (979B)
1 <!DOCTYPE html> 2 <title> 3 Tests that the margin-bottom of the last flex item is taken into account 4 when fragmenting. 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="width: 100px; height: 100px; background: red;"> 10 <div style="column-count: 1; width: 100px;"> 11 <div style="display: flex; flex-wrap: wrap; width: 100px;"> 12 <div style="height: 25px; width: 100px; background: green;"></div> 13 <div style="margin-bottom: 20px;"> 14 <div style="height: 25px; width: 50px; background: green;"></div> 15 </div> 16 <div style="margin-bottom: 10px;"> 17 <div style="height: 25px; width: 50px; background: green;"></div> 18 </div> 19 </div> 20 <div style="margin-top: -20px; height: 50px; width: 100px; background: green;"></div> 21 </div> 22 </div>