Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-sizing/intrinsic-fixed-width-with-max-content-height.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<link rel="author" title="Sammy Gill" href="sammy.gill@apple.com">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="max-content height of an image with specified width is computed via aspect ratio">
</head>
<body>
<p>Test passes if there is a filled green square.</p>
<img style="width: 100px; height: max-content;" src="../support/60x60-green.png">
</body>
</html>