single-line-row-flex-fragmentation-008.html (813B)
1 <!DOCTYPE html> 2 <title> 3 Tests that a flex-item with a fixed block-size container *doesn't* grow due to fragmentation 4 if stretched. 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; columns: 2; column-gap: 0; background: red;"> 10 <div style="display: flex; height: 100px;"> 11 <div style="line-height: 0; background: green;"> 12 <div style="display: inline-block; width: 50px; height: 50px;"></div> 13 <div style="display: inline-block; width: 50px; height: 100px;"></div> 14 </div> 15 </div> 16 <div style="background: green; width: 50px; height: 100px;"></div> 17 </div>