mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
When traversing the layout tree to find an appropriate box child to derive the baseline from. Only the child's margin and offset was being applied. Now we sum each offset on the recursive call.
15 lines
814 B
Plaintext
15 lines
814 B
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x33 [BFC] children: inline
|
|
frag 0 from Box start: 0, length: 0, rect: [8,8 26.953125x17] baseline: 21.296875
|
|
Box <body> at (8,8) content-size 26.953125x17 [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 26.953125x17 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [8,8 26.953125x17] baseline: 13.296875
|
|
"whf"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x33]
|
|
PaintableBox (Box<BODY>) [8,8 26.953125x17]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 26.953125x17]
|
|
TextPaintable (TextNode<#text>)
|