Files
ladybird/Tests/LibWeb/Layout/expected/textarea-content.txt
Jonathan Gamble d3cdeb3ac5 LibWeb: Implement auto_content_box_size for textarea and input
This allows default and attribute-based sizing when an axis is auto,
without overriding extrinsic sizing.
2026-02-02 14:36:49 +00: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] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 73 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 57 0+0+8] children: inline
frag 0 from TextAreaBox start: 0, length: 0, rect: [11,11 240x46] baseline: 52
frag 1 from TextNode start: 0, length: 1, rect: [254,42 10x23] baseline: 17.5
" "
frag 2 from TextAreaBox start: 0, length: 0, rect: [267,11 240x46] baseline: 52
frag 3 from TextAreaBox start: 0, length: 0, rect: [513,11 240x46] baseline: 52
TextNode <#text> (not painted)
TextAreaBox <textarea> at [11,11] inline-block [0+1+2 240 2+1+0] [0+1+2 46 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)
TextAreaBox <textarea> at [267,11] inline-block [0+1+2 240 2+1+0] [0+1+2 46 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)
TextAreaBox <textarea> at [513,11] inline-block [0+1+2 240 2+1+0] [0+1+2 46 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 800x73]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x57]
PaintableWithLines (TextAreaBox<TEXTAREA>) [8,8 246x52]
PaintableWithLines (BlockContainer<DIV>) [11,11 240x23]
PaintableWithLines (BlockContainer<DIV>) [11,11 240x23]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (TextAreaBox<TEXTAREA>) [264,8 246x52]
PaintableWithLines (BlockContainer<DIV>) [267,11 240x23]
PaintableWithLines (BlockContainer<DIV>) [267,11 240x23]
TextPaintable (TextNode<#text>)
PaintableWithLines (TextAreaBox<TEXTAREA>) [510,8 246x52]
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 800x73] [children: 0] (z-index: auto)