1
0
Fork 0
firefox/testing/web-platform/tests/css/css-break/flexbox/multi-line-row-flex-fragmentation-065-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

35 lines
769 B
HTML

<!DOCTYPE html>
<title>
Multi-line row flex fragmentation: row gaps should not be truncated by
fragmentainer breaks (similar to flex-item margins).
</title>
<style>
.multicol {
columns: 2;
column-fill: auto;
width: 300px;
height: 100px;
margin: 20px;
background: yellow;
}
.flex {
display: flex;
flex-wrap: wrap;
background: gray;
}
.flex > div {
contain: size;
width: 100%;
height: 50px;
background: cyan;
}
</style>
<p>Flex row gaps should <strong>not</strong> be truncated when a row breaks.</p>
<div class="multicol">
<div class="flex">
<div></div>
<div style="margin-top:100px;"></div>
<div style="margin-top:100px;"></div>
<div style="margin-top:100px;"></div>
</div>
</div>