1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:38:11 +00:00
serenity/Tests/LibWeb/Layout/input/grid/auto-flow-column-spanning-item.html
Aliaksandr Kalenik 2495302991 LibWeb: Reset auto_placement_cursor_x after adding new column in GFC
We need to start looking from the beginning of current row if adding
new implicit column track made enough space to accomodate spanning item

This fixes placement for spanning grid items when `grid-auto-flow` is
specified to `column`.
2023-08-29 12:35:21 +02:00

9 lines
No EOL
173 B
HTML

<!doctype html><style>
body {
display: grid;
grid-auto-flow: column;
}
.item {
grid-column: span 4 / auto;
}
</style><body><div></div><div class="item">foo</div>