mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02: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.
44 lines
2.7 KiB
Plaintext
44 lines
2.7 KiB
Plaintext
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 [1,1] [0+1+0 798 0+1+0] [0+1+0 132 0+1+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 114 0+1+8] children: not-inline
|
|
BlockContainer <div.foo> at [11,11] [0+1+0 93.765625 0+1+684.234375] [0+1+0 36 0+1+0] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [11,11 43.578125x18] baseline: 13.796875
|
|
"width:"
|
|
frag 1 from TextNode start: 7, length: 11, rect: [11,29 93.765625x18] baseline: 13.796875
|
|
"min-content"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> at [10,48] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div.bar> at [11,49] [0+1+0 93.765625 0+1+684.234375] [0+1+0 36 0+1+0] children: inline
|
|
frag 0 from TextNode start: 0, length: 10, rect: [11,49 81.3125x18] baseline: 13.796875
|
|
"max-width:"
|
|
frag 1 from TextNode start: 11, length: 11, rect: [11,67 93.765625x18] baseline: 13.796875
|
|
"min-content"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> at [10,86] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div.baz> at [11,87] [0+1+0 93.765625 0+1+684.234375] [0+1+0 36 0+1+0] children: inline
|
|
frag 0 from TextNode start: 0, length: 10, rect: [11,87 76.4375x18] baseline: 13.796875
|
|
"min-width:"
|
|
frag 1 from TextNode start: 11, length: 11, rect: [11,105 93.765625x18] baseline: 13.796875
|
|
"min-content"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> at [10,124] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x134]
|
|
PaintableWithLines (BlockContainer<BODY>) [9,9 782x116]
|
|
PaintableWithLines (BlockContainer<DIV>.foo) [10,10 95.765625x38]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,48 780x0]
|
|
PaintableWithLines (BlockContainer<DIV>.bar) [10,48 95.765625x38]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,86 780x0]
|
|
PaintableWithLines (BlockContainer<DIV>.baz) [10,86 95.765625x38]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,124 780x0]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [1,1 798x132] [children: 0] (z-index: auto)
|