| <!DOCTYPE HTML> |
| <link rel="author" title="L. David Baron" href="https://dbaron.org/"> |
| <link rel="author" title="Google" href="http://www.google.com/"> |
| <link rel="match" href="constrain-intrinsic-ratio-tall-ref.html"> |
| <link rel="help" href="https://drafts.csswg.org/css-sizing-3/#sizing-values"> |
| <link rel="help" href="https://drafts.csswg.org/css-images-3/#sizing"> |
| <link rel="help" href="https://www.w3.org/TR/CSS2/visudet.html#min-max-widths"> |
| <meta name="assert" content="Dynamic changes to the intrinsic ratio and size of a replaced element are handled correctly."> |
| <style> |
| |
| #image { |
| height: 300px; |
| width: 100px; |
| max-height: max-content; |
| } |
| |
| </style> |
| |
| <img id="image" src="support/intrinsic-size-tall.svg"> |