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

LibWeb: Handle fit-content in calculate_max_content_contribution in GFC

Fixes https://github.com/SerenityOS/serenity/issues/21569
This commit is contained in:
Aliaksandr Kalenik 2023-10-25 20:56:54 +02:00 committed by Andreas Kling
parent 04a4ffaa3d
commit 58f8068853
3 changed files with 41 additions and 3 deletions

View file

@ -0,0 +1,12 @@
<!DOCTYPE html><style type="text/css">
.flex {
display: flex;
}
.grid {
display: grid;
grid-template-columns: 1fr 1fr;
}
.w-fit {
width: fit-content;
}
</style><div class="flex"><div class="grid"><div class="w-fit">Col1</div><div class="w-fit">Col2</div>