mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +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.
27 lines
1.6 KiB
Plaintext
27 lines
1.6 KiB
Plaintext
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 784x34 children: not-inline
|
|
BlockContainer <form#form> at (8,8) content-size 784x34 children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [11,11 185.875x28] baseline: 16.296875
|
|
TextNode <#text>
|
|
BlockContainer <textarea#textarea> at (11,11) content-size 185.875x28 inline-block [BFC] children: not-inline
|
|
BlockContainer <div> at (11,11) content-size 185.875x17 children: not-inline
|
|
BlockContainer <div> at (11,11) content-size 185.875x17 children: inline
|
|
frag 0 from TextNode start: 0, length: 14, rect: [11,11 108.453125x17] baseline: 13.296875
|
|
"Original value"
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,58) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x34] overflow: [8,8 784x50]
|
|
PaintableWithLines (BlockContainer<FORM>#form) [8,8 784x34]
|
|
PaintableWithLines (BlockContainer<TEXTAREA>#textarea) [8,8 191.875x34]
|
|
PaintableWithLines (BlockContainer<DIV>) [11,11 185.875x17]
|
|
PaintableWithLines (BlockContainer<DIV>) [11,11 185.875x17]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,58 784x0]
|