Files
ladybird/Tests/LibWeb/Layout/expected/block-and-inline/float-left-and-right-with-text-in-between.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

54 lines
3.3 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 450 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [252,10] [250+1+0 538 0+1+8] [8+1+0 432 0+1+8] children: inline
frag 0 from TextNode start: 1, length: 21, rect: [554,10 228.375x23] baseline: 17.5
"Lorem ipsum dolor sit"
frag 1 from TextNode start: 23, length: 17, rect: [554,33 183.8125x23] baseline: 17.5
"amet, consectetur"
frag 2 from TextNode start: 41, length: 16, rect: [554,56 140.59375x23] baseline: 17.5
"adipiscing elit."
frag 3 from TextNode start: 58, length: 13, rect: [554,79 145.0625x23] baseline: 17.5
"Suspendisse a"
frag 4 from TextNode start: 72, length: 19, rect: [554,102 196.734375x23] baseline: 17.5
"placerat mauris, ut"
frag 5 from TextNode start: 92, length: 22, rect: [554,125 234.71875x23] baseline: 17.5
"elementum mi. Morbi ut"
frag 6 from TextNode start: 115, length: 20, rect: [554,148 201.5625x23] baseline: 17.5
"vehicula ipsum, eget"
frag 7 from TextNode start: 136, length: 23, rect: [554,171 232.609375x23] baseline: 17.5
"placerat augue. Integer"
frag 8 from TextNode start: 160, length: 20, rect: [252,212 202.984375x23] baseline: 17.5
"rutrum nisi eget dui"
frag 9 from TextNode start: 181, length: 19, rect: [252,235 208.84375x23] baseline: 17.5
"dictum, eu accumsan"
frag 10 from TextNode start: 201, length: 18, rect: [252,258 180.234375x23] baseline: 17.5
"enim tristique. Ut"
frag 11 from TextNode start: 220, length: 19, rect: [252,281 195.328125x23] baseline: 17.5
"lobortis lorem eget"
frag 12 from TextNode start: 240, length: 22, rect: [252,304 223x23] baseline: 17.5
"est vulputate egestas."
frag 13 from TextNode start: 263, length: 23, rect: [252,327 223.203125x23] baseline: 17.5
"Integer laoreet lacinia"
frag 14 from TextNode start: 287, length: 22, rect: [252,350 222.71875x23] baseline: 17.5
"ante sodales lobortis."
frag 15 from TextNode start: 310, length: 17, rect: [252,373 178.328125x23] baseline: 17.5
"Donec a tincidunt"
frag 16 from TextNode start: 328, length: 22, rect: [252,396 231.15625x23] baseline: 17.5
"ante. Phasellus a arcu"
frag 17 from TextNode start: 351, length: 7, rect: [252,419 70.5625x23] baseline: 17.5
"tortor."
BlockContainer <div.left> at [253,11] floating [0+1+0 300 0+1+0] [0+1+0 200 0+1+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BlockContainer <div.right> at [489,213] floating [0+1+0 300 0+1+0] [0+1+0 200 0+1+0] [BFC] children: not-inline
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x452]
PaintableWithLines (BlockContainer<BODY>) [251,9 540x434]
PaintableWithLines (BlockContainer<DIV>.left) [252,10 302x202]
PaintableWithLines (BlockContainer<DIV>.right) [488,212 302x202]
TextPaintable (TextNode<#text>)
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x450] [children: 0] (z-index: auto)