mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +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.
23 lines
1.5 KiB
Plaintext
23 lines
1.5 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 54 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 38 0+0+8] children: not-inline
|
|
Box <div#flex-container> at [18,18] flex-container(row) [0+0+10 764 10+0+0] [0+0+10 18 10+0+0] [FFC] children: not-inline
|
|
BlockContainer <div#absolute> at [18,18] positioned [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <div#orange> at [18,18] [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] children: not-inline
|
|
BlockContainer <div#red> at [18,18] flex-item [0+0+0 9.703125 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [18,18 9.703125x18] baseline: 13.796875
|
|
"x"
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x54]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x38]
|
|
PaintableBox (Box<DIV>#flex-container) [8,8 784x38]
|
|
PaintableWithLines (BlockContainer<DIV>#absolute) [18,18 50x50]
|
|
PaintableWithLines (BlockContainer<DIV>#orange) [18,18 50x50]
|
|
PaintableWithLines (BlockContainer<DIV>#red) [18,18 9.703125x18]
|
|
TextPaintable (TextNode<#text>)
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x54] [children: 0] (z-index: auto)
|