single-line-column-flex-fragmentation-053.html (943B)
1 <!DOCTYPE html> 2 <title> 3 Tests that a flex-item that can't shrink and has a definite flex-basis, an 4 indefinite height, and a non-auto min-height *doesn't* expand. 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; flex-direction: column; height: 100px;"> 11 <div style="background: green; flex-basis: 10px; min-height: 10px;"> 12 <div style="contain: size; width: 50px; height: 50px;"></div> 13 <div style="contain: size; width: 50px; height: 100px;"></div> 14 </div> 15 <div style="background: green; width: 50px; height: 190px;"></div> 16 </div> 17 <div style="background: green; width: 50px; height: 100px;"></div> 18 </div>