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

LibWeb: Reset item_incurred_increase before distributing space in GFC

item_incurred_increase should be reset before every next distirbution
because otherwise it will accumulate increases from previous
distributions which is not supposed to happen.
This commit is contained in:
Aliaksandr Kalenik 2023-05-16 07:41:51 +03:00 committed by Andreas Kling
parent 55e8ffd122
commit a613a0973e
3 changed files with 40 additions and 1 deletions

View file

@ -0,0 +1,13 @@
<style>
.container {
float: left;
display: grid;
background-color: lightsalmon;
grid-template-columns: 1fr 1fr;
}
.item {
background-color: lightblue;
}
</style>
<div class="container"><div class="item">some-text</div><div class="item">goes-here</div><div class="item">another-text</div><div class="item">goes-there</div></div>