mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 14:02:51 +00:00
Changing `try_compute_width()` to return width and margins, instead of mutating them in the box's state makes it works in cases when box has min-width or max-width and this function needs to be called multiple times. Fixes https://github.com/SerenityOS/serenity/issues/21598
9 lines
526 B
Text
9 lines
526 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x216 [BFC] children: not-inline
|
|
Box <body> at (8,8) content-size 784x200 [GFC] children: not-inline
|
|
Box <section> at (8,8) content-size 784x200 flex-container(row) [FFC] children: not-inline
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x216]
|
|
PaintableBox (Box<BODY>) [8,8 784x200]
|
|
PaintableBox (Box<SECTION>) [8,8 784x200]
|