row-003.html (892B)
1 <!DOCTYPE html> 2 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org"> 3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#intrinsic-sizes"> 4 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 5 <meta name="assert" 6 content="the flex container's min-content size is big enough to contain the item's flex-basis when the item can't shrink. The old algorithm gives the container a min-content of zero." /> 7 8 <style> 9 #reference-overlapped-red { 10 position: absolute; 11 background-color: red; 12 width: 100px; 13 height: 100px; 14 z-index: -1; 15 } 16 </style> 17 18 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 19 20 <div id=reference-overlapped-red></div> 21 22 <div style="width: 0px;"> 23 <div style="display: flex; background: green; height: 100px; float: left;"> 24 <div style="flex: 1 0 100px;"></div> 25 </div>