block-aspect-ratio-049.html (664B)
1 <!DOCTYPE html> 2 <title>CSS aspect-ratio: The definite min-width should win the transferred maximum width</title> 3 <link rel="author" title="Cathie Chen" href="mailto:cchen@igalia.com"> 4 <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio-size-transfers"> 5 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht" /> 6 <meta name="assert" content="CSS aspect-ratio: The definite min-width should win the transferred maximum width."> 7 8 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 9 10 <div style="background: green; height: 100px; aspect-ratio: 1 / 2; max-height: 150px; min-width: 100px;"></div>