1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:17:46 +00:00

LibWeb: Fix infinite loop in GFC growth limit distribution

This change is bd85e1b30b ported from
base size to growth limit distribution.

Fixes https://github.com/SerenityOS/serenity/issues/21056
This commit is contained in:
Aliaksandr Kalenik 2023-09-14 17:15:11 +02:00 committed by Andreas Kling
parent 9b4ddff6a9
commit 693d602b2f
3 changed files with 45 additions and 11 deletions

View file

@ -0,0 +1,16 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x33.46875 [BFC] children: not-inline
Box <body> at (8,8) content-size 784x17.46875 [GFC] children: not-inline
BlockContainer <div#item> at (8,8) content-size 784x17.46875 [BFC] children: not-inline
BlockContainer <div#block> at (8,8) content-size 784x17.46875 children: inline
line 0 width: 210.484375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 26, rect: [8,8 210.484375x17.46875]
"Taika Waititi's Best Roles"
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x33.46875]
PaintableBox (Box<BODY>) [8,8 784x17.46875]
PaintableWithLines (BlockContainer<DIV>#item) [8,8 784x17.46875]
PaintableWithLines (BlockContainer<DIV>#block) [8,8 784x17.46875]
TextPaintable (TextNode<#text>)