Files
ladybird/Tests/LibWeb/Layout/expected/textarea-height-stretch.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

56 lines
3.8 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 376 0+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 360 0+0+8] children: not-inline
BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
Box <div.stretch> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [FFC] children: not-inline
TextAreaBox <textarea> at [11,11] flex-item [0+1+2 160 2+1+0] [0+1+2 194 2+1+0] [BFC] children: not-inline
BlockContainer <div> at [11,11] [0+0+0 160 0+0+0] [0+0+0 15 0+0+0] children: not-inline
BlockContainer <div> at [11,11] [0+0+0 160 0+0+0] [0+0+0 15 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 0, rect: [11,11 0x15] baseline: 11.390625
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 160 0+0+0] children: inline
frag 0 from TextAreaBox start: 0, length: 0, rect: [11,211 160x150] baseline: 156
frag 1 from TextNode start: 0, length: 1, rect: [174,350 8x18] baseline: 13.796875
" "
frag 2 from TextAreaBox start: 0, length: 0, rect: [185,331 480x30] baseline: 36
TextNode <#text> (not painted)
TextAreaBox <textarea> at [11,211] inline-block [0+1+2 160 2+1+0] [0+1+2 150 2+1+0] [BFC] children: not-inline
BlockContainer <div> at [11,211] [0+0+0 160 0+0+0] [0+0+0 15 0+0+0] children: not-inline
BlockContainer <div> at [11,211] [0+0+0 160 0+0+0] [0+0+0 15 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 0, rect: [11,211 0x15] baseline: 11.390625
TextNode <#text> (not painted)
TextNode <#text> (not painted)
TextAreaBox <textarea> at [185,331] inline-block [0+1+2 480 2+1+0] [0+1+2 30 2+1+0] [BFC] children: not-inline
BlockContainer <div> at [185,331] [0+0+0 480 0+0+0] [0+0+0 15 0+0+0] children: not-inline
BlockContainer <div> at [185,331] [0+0+0 480 0+0+0] [0+0+0 15 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 0, rect: [185,331 0x15] baseline: 11.390625
TextNode <#text> (not painted)
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x376]
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x360]
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
PaintableBox (Box<DIV>.stretch) [8,8 784x200]
PaintableWithLines (TextAreaBox<TEXTAREA>) [8,8 166x200]
PaintableWithLines (BlockContainer<DIV>) [11,11 160x15]
PaintableWithLines (BlockContainer<DIV>) [11,11 160x15]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,208 784x160]
PaintableWithLines (TextAreaBox<TEXTAREA>) [8,208 166x156]
PaintableWithLines (BlockContainer<DIV>) [11,211 160x15]
PaintableWithLines (BlockContainer<DIV>) [11,211 160x15]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (TextAreaBox<TEXTAREA>) [182,328 486x36]
PaintableWithLines (BlockContainer<DIV>) [185,331 480x15]
PaintableWithLines (BlockContainer<DIV>) [185,331 480x15]
TextPaintable (TextNode<#text>)
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x376] [children: 0] (z-index: auto)