mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-19 10:20:22 +00:00
Inline nodes in our layout tree have a position, so let's show it. By centralizing the logic for this, block nodes now lose their redundant 'content-size' dump info which is already part of the box model dump.
46 lines
2.9 KiB
Text
46 lines
2.9 KiB
Text
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: not-inline
|
|
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 232 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 216 0+0+8] children: not-inline
|
|
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 18 0+0+0] children: inline
|
|
frag 0 from TextNode start: 0, length: 38, rect: [8,8 312.4375x18] baseline: 13.796875
|
|
"This is inserted before the container."
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div#container> at [39,57] [20+1+10 722 10+1+20] [20+1+10 118 10+1+20] children: not-inline
|
|
BlockContainer <p> at [39,73] [0+0+0 722 0+0+0] [16+0+0 18 0+0+16] children: inline
|
|
frag 0 from TextNode start: 0, length: 34, rect: [39,73 270.59375x18] baseline: 13.796875
|
|
"This is inserted at the beginning."
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <p> at [39,107] [0+0+0 722 0+0+0] [16+0+0 18 0+0+16] children: inline
|
|
frag 0 from TextNode start: 0, length: 29, rect: [39,107 230.59375x18] baseline: 13.796875
|
|
"This is the original content."
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <p> at [39,141] [0+0+0 722 0+0+0] [16+0+0 18 0+0+16] children: inline
|
|
frag 0 from TextNode start: 0, length: 28, rect: [39,141 225.515625x18] baseline: 13.796875
|
|
"This is inserted at the end."
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div> at [8,206] [0+0+0 784 0+0+0] [0+0+0 18 0+0+0] children: inline
|
|
frag 0 from TextNode start: 0, length: 37, rect: [8,206 300.09375x18] baseline: 13.796875
|
|
"This is inserted after the container."
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> at [8,224] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
|
|
TextNode <#text> (not painted)
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x232]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x216]
|
|
PaintableWithLines (BlockContainer<DIV>) [8,8 784x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>#container) [28,46 744x140]
|
|
PaintableWithLines (BlockContainer<P>) [39,73 722x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<P>) [39,107 722x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<P>) [39,141 722x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [8,206 784x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,224 784x0]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x232] [children: 0] (z-index: auto)
|