Files
ladybird/Tests/LibWeb/Layout/expected/textarea-content.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.2 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 66 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 50 0+0+8] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [11,11 240x44] baseline: 20.5
frag 1 from TextNode start: 0, length: 1, rect: [254,11 10x23] baseline: 17.5
" "
frag 2 from BlockContainer start: 0, length: 0, rect: [267,11 240x44] baseline: 20.5
frag 3 from BlockContainer start: 0, length: 0, rect: [513,11 240x44] baseline: 20.5
TextNode <#text> (not painted)
BlockContainer <textarea> at [11,11] inline-block [0+1+2 240 2+1+0] [0+1+2 44 2+1+0] [BFC] children: not-inline
BlockContainer <div> at [11,11] [0+0+0 240 0+0+0] [0+0+0 23 0+0+0] children: not-inline
BlockContainer <div> at [11,11] [0+0+0 240 0+0+0] [0+0+0 23 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 17, rect: [11,11 190.28125x23] baseline: 17.5
"Bonjour mon amis!"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
BlockContainer <textarea> at [267,11] inline-block [0+1+2 240 2+1+0] [0+1+2 44 2+1+0] [BFC] children: not-inline
BlockContainer <div> at [267,11] [0+0+0 240 0+0+0] [0+0+0 23 0+0+0] children: not-inline
BlockContainer <div> at [267,11] [0+0+0 240 0+0+0] [0+0+0 23 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 19, rect: [267,11 177.734375x23] baseline: 17.5
"Well hello friends!"
TextNode <#text> (not painted)
BlockContainer <textarea> at [513,11] inline-block [0+1+2 240 2+1+0] [0+1+2 44 2+1+0] [BFC] children: not-inline
BlockContainer <div> at [513,11] [0+0+0 240 0+0+0] [0+0+0 23 0+0+0] children: not-inline
BlockContainer <div> at [513,11] [0+0+0 240 0+0+0] [0+0+0 23 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 15, rect: [513,11 154.078125x23] baseline: 17.5
"Tja hej vänner!"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x66]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x50]
PaintableWithLines (BlockContainer<TEXTAREA>) [8,8 246x50]
PaintableWithLines (BlockContainer<DIV>) [11,11 240x23]
PaintableWithLines (BlockContainer<DIV>) [11,11 240x23]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TEXTAREA>) [264,8 246x50]
PaintableWithLines (BlockContainer<DIV>) [267,11 240x23]
PaintableWithLines (BlockContainer<DIV>) [267,11 240x23]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TEXTAREA>) [510,8 246x50]
PaintableWithLines (BlockContainer<DIV>) [513,11 240x23]
PaintableWithLines (BlockContainer<DIV>) [513,11 240x23]
TextPaintable (TextNode<#text>)
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x66] [children: 0] (z-index: auto)