1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 20:15:08 +00:00
serenity/Tests/LibWeb/Layout/input/grid/auto-fill-rows.html
Aliaksandr Kalenik 903d3c92c8 LibWeb: Support auto-fill for rows in GFC
This change fixes the function that calculates the number of auto-fill
tracks, ensuring it uses height when applied to rows, instead of
assuming that it always operates on columns.
2024-01-07 11:12:35 +01:00

9 lines
No EOL
248 B
HTML

<!DOCTYPE html><html><style>
* {
outline: 1px solid black;
}
.grid-container {
display: grid;
grid-template-rows: repeat(auto-fill, 200px);
}
</style><div class="grid-container"><div>Item 1</div><div>Item 2</div><div>Item 3</div></html>