mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-19 18:30:27 +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.
23 lines
1.6 KiB
Text
23 lines
1.6 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 175 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,25] [8+0+0 784 0+0+8] [8+0+0 125 0+0+25] children: not-inline
|
|
BlockContainer <div.empty_content> at [33,25] [25+0+0 50 0+0+709] [25+0+0 50 0+0+25] children: not-inline
|
|
BlockContainer <(anonymous)> at [33,75] [0+0+0 50 0+0+0] [0+0+50 0 0+0+0] children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div.content_with_space> at [33,100] [25+0+0 50 0+0+709] [25+0+0 50 0+0+25] children: not-inline
|
|
BlockContainer <(anonymous)> at [33,150] [0+0+0 50 0+0+0] [0+0+50 0 0+0+0] children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> at [8,175] [0+0+0 784 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 800x175]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,25 784x125]
|
|
PaintableWithLines (BlockContainer<DIV>.empty_content) [33,25 50x50]
|
|
PaintableWithLines (BlockContainer(anonymous)) [33,25 50x50]
|
|
PaintableWithLines (BlockContainer<DIV>.content_with_space) [33,100 50x50]
|
|
PaintableWithLines (BlockContainer(anonymous)) [33,100 50x50]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,175 784x0]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x175] [children: 0] (z-index: auto)
|