1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:57:36 +00:00
serenity/Tests/LibWeb/Layout/input/grid/column-auto-auto.html
Aliaksandr Kalenik 5f2264a2bd LibWeb: Skip non-spanning items sizing if there are no such items
Otherwise base_size and growth_limit for tracks that do not have any
spanning items will be overriden with wrong values.
2023-05-17 07:48:38 +02:00

17 lines
No EOL
326 B
HTML

<style>
.grid {
display: grid;
grid-template-columns: auto auto;
height: 100px;
width: 100px;
}
.test {
grid-column: 1 / span 2;
grid-row: 1;
background: red;
}
.big-child {
width: 500px;
height: 100px;
}
</style><div class="grid"><div class="test"><div class="big-child"></div></div></div>