Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>Aspect-ratio items with undefined specified size suggestion</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<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.">
<p>Test passes if there is a filled green square.</p>
<div style="display: flex;">
<img src="support/200x200-green.png" style="max-width:150px; height:100px;">
</div>