Files
ladybird/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-right-should-not-affect-inline-left.txt
Jelle Raaijmakers f4b04beccd LibWeb: Show inline positioning in layout tree dump
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.
2025-08-27 11:53:45 +01:00

39 lines
2.6 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 650 0+0+150] [0+0+0 466 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,16] [8+0+0 634 0+0+8] [8+0+0 388 0+0+8] children: not-inline
BlockContainer <(anonymous)> at [8,16] [0+0+0 634 0+0+0] [0+0+0 0 0+0+0] children: inline
BlockContainer <div.a> at [342,16] floating [0+0+0 300 0+0+0] [0+0+0 225 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BlockContainer <p> at [8,16] [0+0+0 634 0+0+0] [16+0+0 72 0+0+16] children: inline
frag 0 from TextNode start: 0, length: 27, rect: [8,16 232.84375x18] baseline: 13.796875
"Lorem ipsum dolor sit amet,"
frag 1 from TextNode start: 28, length: 35, rect: [8,34 278.125x18] baseline: 13.796875
"consectetur adipiscing elit, sed do"
frag 2 from TextNode start: 64, length: 38, rect: [8,52 316.5x18] baseline: 13.796875
"eiusmod tempor incididunt ut labore et"
frag 3 from TextNode start: 103, length: 20, rect: [8,70 167.078125x18] baseline: 13.796875
"dolore magna aliqua."
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,104] [0+0+0 634 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
BlockContainer <div.a> at [342,241] floating [0+0+0 300 0+0+0] [0+0+0 225 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BlockContainer <div.b> at [8,104] [0+0+0 634 0+0+0] [0+0+0 300 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,404] [0+0+0 634 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 650x466]
PaintableWithLines (BlockContainer<BODY>) [8,16 634x388]
PaintableWithLines (BlockContainer(anonymous)) [8,16 634x0] overflow: [342,16 300x225]
PaintableWithLines (BlockContainer<DIV>.a) [342,16 300x225]
PaintableWithLines (BlockContainer<P>) [8,16 634x72]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,104 634x0] overflow: [342,241 300x225]
PaintableWithLines (BlockContainer<DIV>.a) [342,241 300x225]
PaintableWithLines (BlockContainer<DIV>.b) [8,104 634x300]
PaintableWithLines (BlockContainer(anonymous)) [8,404 634x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 650x466] [children: 0] (z-index: auto)