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-multi-lane-fragmentation-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>
Simple multi-lane column grid-lanes fragmentation.
</title>
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<link rel="match" href="../../../reference/ref-filled-green-100px-square.xht">
<style>
.multicol {
background: red;
column-count: 2;
column-fill: auto;
column-gap: 0px;
height: 100px;
width: 100px;
}
.grid-lanes {
display: grid-lanes;
grid-template-columns: repeat(2, 25px);
height: 200px;
width: 50px;
}
.grid-lanes > div {
background: green;
height: 200px;
width: 25px;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div class="multicol">
<div class="grid-lanes">
<div></div>
<div></div>
</div>
</div>