<!DOCTYPE html>
<title>CSS aspect-ratio: min-size:auto and non auto/min-content/max-content width</title>
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
<style>
.target {
  background: green;
}
</style>

<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>

<!-- `min-width:auto` does not take the content size into account if the
      aspect-ratio is not used for sizing. -->
<div class="target" style="width: 100px; height: 100px; aspect-ratio: 1/1;">
    <div style="width: 200px;"></div>
</div>
