Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<style>
.grid {
display: grid;
grid-template-columns: repeat(6, 50px);
}
</style>
<body>
<p>Ensure that dense-packing honors flow-tolerance for multi-span items. The yellow item should be placed in the flow-tolerance-preferred opening spanning tracks 1-2 (running position 5px), not the strictly-highest opening spanning tracks 4-5 (running position 0).</p>
<div class="grid">
<div style="background: lightskyblue; height: 5px; grid-column: 1 / span 2; grid-row: 1;">1</div>
<div style="background: lightblue; height: 60px; grid-column: 3; grid-row: 1;">2</div>
<div style="background: darkblue; height: 60px; grid-column: 6; grid-row: 1;">3</div>
<div style="background: lightsteelblue; height: 20px; grid-column: 1 / span 6; grid-row: 1; transform: translateY(60px);">4</div>
<div style="background: yellow; height: 20px; grid-column: 1 / span 2; grid-row: 1; transform: translateY(5px);">5</div>
</div>
</body>
</html>