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/grid/grid-lanes/column-grid-lanes-oof-fragmentation-005.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>
OOF static position in a fragmented column grid-lanes container.
</title>
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<link rel="match" href="../../../reference/ref-filled-green-100px-square.xht">
<style>
.abs {
background: green;
position: absolute;
height: 100px;
width: 25px;
}
</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: grid-lanes; grid-template-columns: 25px; height: 400px; position: relative;">
<div style="height: 100px; width: 25px; background: red;"></div>
<div style="width: 25px;">
<div style="height: 100px; width: 25px; background: green;"></div>
<div class="abs"></div>
<div style="height: 100px; width: 25px; background: red;"></div>
</div>
<div style="height: 100px; width: 25px; background: green;"></div>
<div class="abs"></div>
</div>
</div>