Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>
Column fragmentation with a stretched spanner above another spanner.
</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 {
align-items: stretch;
display: grid-lanes;
grid-template-columns: repeat(5, 10px);
height: 200px;
width: 50px;
}
.grid-lanes > div {
background: green;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div class="multicol">
<div class="grid-lanes">
<!-- This two-column spanner stretches from 50px to 150px. -->
<div style="grid-column: 1 / span 2;">
<div style="height: 50px;"></div>
</div>
<div style="grid-column: 3 / span 3; height: 150px;"></div>
<div style="grid-column: 1 / span 5; height: 50px;"></div>
</div>
</div>