Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-flexbox/flex-item-max-height-min-content.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="display: flex; flex-direction: column; width: 100px; height: 200px;">
<div style="max-height: min-content; flex-basis: 200px; background: green;">
<div style="height: 100px;"></div>
</div>
</div>