Files
ladybird/Tests/LibWeb/Layout/expected/css-line-height-zero.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

50 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 [0,0] [0+0+0 800 0+0+0] [0+0+0 84 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 68 0+0+8] children: not-inline
BlockContainer <input#a> at [9,9] [0+1+0 200 0+1+582] [0+1+0 20 0+1+0] [BFC] children: not-inline
Box <div> at [11,10] flex-container(row) [0+0+2 196 2+0+0] [0+0+1 18 1+0+0] [FFC] children: not-inline
BlockContainer <div> at [11,10] flex-item [0+0+0 196 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [11,10 91.953125x18] baseline: 13.796875
"Hello World"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
BlockContainer <input#b> at [9,31] [0+1+0 200 0+1+582] [0+1+0 16 0+1+0] [BFC] children: not-inline
Box <div> at [11,32] flex-container(row) [0+0+2 196 2+0+0] [0+0+1 16 1+0+0] [FFC] children: not-inline
BlockContainer <div> at [11,40] flex-item [0+0+0 196 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [11,40 91.953125x0] baseline: 4.796875
"Hello World"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
BlockContainer <input#c> at [9,49] [0+1+0 200 0+1+582] [0+1+0 26 0+1+0] [BFC] children: not-inline
Box <div> at [11,50] flex-container(row) [0+0+2 196 2+0+0] [0+0+1 24 1+0+0] [FFC] children: not-inline
BlockContainer <div> at [11,50] flex-item [0+0+0 196 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [11,50 91.953125x24] baseline: 16.796875
"Hello World"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,76] [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 800x84]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x68]
PaintableWithLines (BlockContainer<INPUT>#a) [8,8 202x22]
PaintableBox (Box<DIV>) [9,9 200x20]
PaintableWithLines (BlockContainer<DIV>) [11,10 196x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,30 784x0]
PaintableWithLines (BlockContainer<INPUT>#b) [8,30 202x18] overflow: [9,31 200x18]
PaintableBox (Box<DIV>) [9,31 200x18]
PaintableWithLines (BlockContainer<DIV>) [11,40 196x0]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,48 784x0]
PaintableWithLines (BlockContainer<INPUT>#c) [8,48 202x28]
PaintableBox (Box<DIV>) [9,49 200x26]
PaintableWithLines (BlockContainer<DIV>) [11,50 196x24]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,76 784x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x84] [children: 0] (z-index: auto)