1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:57:45 +00:00

LibWeb: Reset planned_increase while distributing space to "fr" tracks

Fixes bug when planned_increase is not reset after adding it to
base_size.
This commit is contained in:
Aliaksandr Kalenik 2023-08-03 16:21:53 +02:00 committed by Andreas Kling
parent f0a5276063
commit 1e953f2acc
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,19 @@
<!DOCTYPE html><style>
* {
border: 1px solid black;
}
body {
display: grid;
grid-template-rows: 1fr;
}
.foo {
width: 100px;
height: 100px;
grid-row: 1;
grid-column: 1;
}
.bar {
grid-row: 1;
grid-column: 1;
}
</style><body><div class="foo">foo</div><div class="bar">bar</div></div>