ladybird/Tests/LibWeb/Layout/expected/input-range.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

31 lines
2.4 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 39 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 23 0+0+8] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,9 200x16] baseline: 16
frag 1 from BlockContainer start: 0, length: 0, rect: [208,9 200x16] baseline: 16
BlockContainer <input> at [8,9] inline-block [0+0+0 200 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [9,16] positioned [0+1+0 200 0+1+-2] [6+1+0 4 0+1+0] children: not-inline
BlockContainer <div> at [9,16] positioned [0+0+0 100 0+0+0] [0+0+0 4 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [109,10] [100+0+0 16 0+0+84] [-6+0+0 16 0+0+0] children: not-inline
BlockContainer <input> at [208,9] inline-block [0+0+0 200 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [209,16] positioned [0+1+0 200 0+1+-2] [6+1+0 4 0+1+0] children: not-inline
BlockContainer <div> at [209,16] positioned [0+0+0 20 0+0+0] [0+0+0 4 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [229,10] [20+0+0 16 0+0+164] [-6+0+0 16 0+0+0] children: not-inline
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x39]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x23]
PaintableWithLines (BlockContainer<INPUT>) [8,9 200x16] overflow: [8,9 202x17]
PaintableWithLines (BlockContainer<DIV>) [8,15 202x6] overflow: [9,16 200x10]
PaintableWithLines (BlockContainer<DIV>) [9,16 100x4]
PaintableWithLines (BlockContainer<DIV>) [109,10 16x16]
PaintableWithLines (BlockContainer<INPUT>) [208,9 200x16] overflow: [208,9 202x17]
PaintableWithLines (BlockContainer<DIV>) [208,15 202x6] overflow: [209,16 200x10]
PaintableWithLines (BlockContainer<DIV>) [209,16 20x4]
PaintableWithLines (BlockContainer<DIV>) [229,10 16x16]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x39] [children: 2] (z-index: auto)
SC for BlockContainer<DIV> [109,10 16x16] [children: 0] (z-index: 1), transform: [1 0 0 1 -8 0]
SC for BlockContainer<DIV> [229,10 16x16] [children: 0] (z-index: 1), transform: [1 0 0 1 -8 0]