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

LibWeb: Skip non-spanning items sizing if there are no such items

Otherwise base_size and growth_limit for tracks that do not have any
spanning items will be overriden with wrong values.
This commit is contained in:
Aliaksandr Kalenik 2023-05-16 16:15:08 +03:00 committed by Andreas Kling
parent 95d17ee875
commit 5f2264a2bd
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,6 @@
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 784x100 children: not-inline
Box <div.grid> at (8,8) content-size 100x100 [GFC] children: not-inline
BlockContainer <div.test> at (8,8) content-size 500x100 [BFC] children: not-inline
BlockContainer <div.big-child> at (8,8) content-size 500x100 children: not-inline