single-line-column-flex-fragmentation-051.html (783B)
1 <!DOCTYPE html> 2 <title> 3 Tests that a flex-item with a definite flex-basis *doesn't* expand. 4 </title> 5 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 7 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 8 <div style="width: 100px; height: 100px; columns: 2; column-gap: 0; background: red;"> 9 <div style="display: flex; flex-direction: column;"> 10 <div style="background: green; flex-basis: 10px; height: 10px;"> 11 <div style="contain: size; width: 50px; height: 50px;"></div> 12 <div style="contain: size; width: 50px; height: 100px;"></div> 13 </div> 14 <div style="background: green; width: 50px; height: 190px;"></div> 15 </div> 16 </div>