mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00

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`.
9 lines
No EOL
173 B
HTML
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> |