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/single-line-column-flex-fragmentation-028.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>
OOFs positioned in a fragmented flexbox.
</title>
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<style>
.abs {
background: green;
position: absolute;
width: 25px;
height: 200px;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:4; column-gap:0px; column-fill:auto; width:100px; height:100px;">
<div style="display:flex; flex-direction:column; height:400px; position:relative;">
<div style="height: 100px; width: 25px; background-color: red;"></div>
<div style="width: 25px; background-color: red">
<div style="height: 100px; width: 25px;"></div>
<div class="abs" style="top:0;"></div>
<div style="height: 100px; width: 25px;"></div>
</div>
<div style="height: 100px; width: 25px; background-color: red;"></div>
<div class="abs" style="bottom:0;"></div>
</div>
</div>