multi-line-column-flex-fragmentation-048.html (1127B)
1 <!DOCTYPE html> 2 <title> 3 Tests that a flex-item that shrinks *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; flex-wrap: wrap; height: 200px;"> 10 <div style="background: green; flex-basis: fit-content; height: 10px; width: 25px;"> 11 <div style="contain: size; width: 25px; height: 50px;"></div> 12 <div style="contain: size; width: 25px; height: 100px;"></div> 13 </div> 14 <div style="background: green; width: 25px; height: 50px;"></div> 15 <div style="background: green; flex-basis: min-content; height: 10px; width: 25px;"> 16 <div style="contain: size; width: 25px; height: 50px;"></div> 17 <div style="contain: size; width: 25px; height: 100px;"></div> 18 </div> 19 <div style="background: green; width: 25px; height: 50px;"></div> 20 </div> 21 </div>