1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00
serenity/Tests/LibWeb/Layout/input/grid/columns-auto-fill-with-gap-3.html
Aliaksandr Kalenik 0a09ff698f LibWeb: Fix accounting for gaps in auto-fit count calculation in GFC
Fixes a bug where gaps between repeated tracks were accounted for only
once instead of multiple times, corresponding to the repeat count.

Fixes https://github.com/SerenityOS/serenity/issues/22823
2024-01-17 15:15:06 +01:00

13 lines
No EOL
309 B
HTML

<!DOCTYPE html><style>
* {
outline: 1px solid black;
}
body {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(2ch, max-content));
column-gap: 50px;
}
div {
background: pink;
}
</style><body><div>Explore</div><div>Wiki Content</div>