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/balance/balance-line-count-intrinsic-006.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="Tests the max-content size of a balanced column flexbox.">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display: inline-flex; gap: 20px; flex-direction: column; flex-wrap: balance; flex-line-count: 2; background: green;">
<div style="width: 40px; height: 100px;"></div>
<div style="width: 40px; height: 30px;"></div>
<div style="width: 40px; height: 30px;"></div>
</div>