1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 16:07:45 +00:00
serenity/Tests/LibWeb/Layout/input/grid/distribute-extra-space-across-spanned-tracks.html
Aliaksandr Kalenik 0177e4e6ba LibWeb: Consider all spanned tracks while finding extra space in GFC
This fixes the issue when functions that distribute base_size
or growth_limit to tracks only considered *affected* spanned tracks
while calculating left extra that is available for distribution while
indeed it should be just *all* spanned track by specific item that
extra space size.
2023-06-07 19:44:47 +02:00

24 lines
441 B
HTML

<style>
.grid {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: min-content auto;
}
.right {
background-color: lightpink;
grid-area: 1 / 2 / auto / -1;
}
.left {
grid-area: 1 / 1 / -1 / auto;
background-color: lightslategrey;
}
.inner {
background-color: lightskyblue;
}
</style>
<div class="grid">
<div class="right">a</div>
<div class="left">
<div class="inner">b</div>
</div>
</div>