1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:47:44 +00:00

LibWeb: Set 0px fixed size to collapsed auto-fit tracks in GFC

Fixes the issue that before we set base_size and growth_limit of
collapsed tracks to 0px which still allowed them to grow by space
distribution.
This commit is contained in:
Aliaksandr Kalenik 2023-06-20 18:48:20 +03:00 committed by Andreas Kling
parent e4d0c077c3
commit 21f39061fd
4 changed files with 49 additions and 24 deletions

View file

@ -0,0 +1,9 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x97.46875 children: not-inline
Box <div.container> at (18,18) content-size 764x77.46875 [GFC] children: not-inline
BlockContainer <div.item> at (48,48) content-size 704x17.46875 [BFC] children: inline
line 0 width: 6.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 1, rect: [48,48 6.34375x17.46875]
"1"
TextNode <#text>