blob: dcb00ba6a5cdcc1c310e26792172da0490b927c4 [file] [log] [blame] [edit]
<!DOCTYPE html>
<html>
<head>
<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#min-max-widths">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio-size-transfers">
<meta name="assert" content="When computed logical width is auto, computed logical height behaves as auto,
the used logical height should be determined with respect to any max logical width constraint.">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<style>
.container {
width: 100px;
}
img {
max-width: 100%;
height: 100%;
}
</style>
</head>
<body>
<p>Test passes if there is a filled green square.</p>
<div class="container">
<img src="aspect-ratio/support/200x200-green.png"/>
</div>
</body>
</html>