single-line-row-flex-fragmentation-047.html (956B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>Tests that a percentage height is resolved correctly in a flex item in fragmented context.</title> 4 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 5 <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> 6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 7 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1744363"> 8 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 9 10 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 11 <div style="width: 100px; height: 100px; columns: 2; column-gap: 0; column-fill: auto; background: red;"> 12 <div style="display: flex; min-height: 100px;"> 13 <div style="width: 100px"> 14 <div style="width: 50px; height: 100%; background: green;"></div> 15 <div style="width: 50px; height: 100px; background: green;"></div> 16 </div> 17 </div> 18 </div>