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.
58 lines
3.4 KiB
Plaintext
58 lines
3.4 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 [0,0] [0+0+0 800 0+0+0] [0+0+0 240 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 224 0+0+8] children: not-inline
|
|
BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
|
|
TextNode <#text> (not painted)
|
|
Box <div.wrapper> at [8,8] [0+0+0 784 0+0+0] [0+0+0 224 0+0+0] [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div.box.a> at [28,28] [0+0+20 170 20+0+0] [0+0+20 28 20+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [28,28 21.40625x28] baseline: 21.1875
|
|
"A"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div.box.b> at [248,28] [0+0+20 170 20+0+0] [0+0+20 28 20+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [248,28 14.015625x28] baseline: 21.1875
|
|
"B"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div.box.c> at [28,106] [0+0+20 60 20+0+0] [0+0+20 28 20+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [28,106 15.46875x28] baseline: 21.1875
|
|
"C"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div.box.d> at [138,106] [0+0+20 280 20+0+0] [0+0+20 28 20+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [138,106 16.71875x28] baseline: 21.1875
|
|
"D"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div.box.e> at [28,184] [0+0+20 390 20+0+0] [0+0+20 28 20+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [28,184 17.796875x28] baseline: 21.1875
|
|
"E"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x240]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x224]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
|
PaintableBox (Box<DIV>.wrapper) [8,8 784x224]
|
|
PaintableWithLines (BlockContainer<DIV>.box.a) [8,8 210x68]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.box.b) [228,8 210x68]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.box.c) [8,86 100x68]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.box.d) [118,86 320x68]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.box.e) [8,164 430x68]
|
|
TextPaintable (TextNode<#text>)
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x240] [children: 0] (z-index: auto)
|