Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>
Single-lane column fragmentation with stacking-axis stretch.
</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: 50px;
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">
<!-- The auto-height item stretches from 50px to 200px. -->
<div>
<div style="height: 50px;"></div>
</div>
</div>
</div>