Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-break/flexbox/multi-line-row-flex-fragmentation-060.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>
Multi-line row flex fragmentation: row-gap and item expansion.
</title>
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<style>
#flex {
display: flex;
flex-wrap: wrap;
row-gap: 10px;
}
#flex > div {
width: 100%;
background: green;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns: 2; column-fill: auto; column-gap: 0; width: 100px; height: 100px; background: red;">
<div style="height: 50px; background: green;"></div>
<div id="flex">
<div>
<div style="height: 25px;"></div>
<div style="height: 25px; break-before: column;"></div>
<div style="position: absolute; width: 50px; height: 10px; background: green;"></div>
</div>
<div style="height: 65px;"></div>
</div>
</div>
</div>