Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<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>