flex-aspect-ratio-img-row-012.html (800B)
1 <!DOCTYPE html> 2 <title>Aspect-ratio items with undefined specified size suggestion</title> 3 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 4 <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> 5 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#min-size-auto"> 6 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1667668"> 7 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html"> 8 <meta name="assert" content="Flex item with auto width and fixed max-width (in a row-oriented flex container) should have an undefined specified size suggestion."> 9 10 <p>Test passes if there is a filled green square.</p> 11 <div style="display: flex;"> 12 <img src="support/200x200-green.png" style="max-width:150px; height:100px;"> 13 </div>