mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Don't rewrite text input 'width: auto' to 'size()ch' in 'HTMLInputElement::adjust_computed_style()'. That turns the control into a definite-width flex item and prevents 'align-items: stretch' from expanding it across the flex container. Fixes the layout of the input element on the element matrix login page.
27 lines
1.9 KiB
Plaintext
27 lines
1.9 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 38 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: not-inline
|
|
Box <div.layout-container> at [8,8] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [FFC] children: not-inline
|
|
Box <div.cpd-form-field> at [8,8] flex-container(column) flex-item [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [FFC] children: not-inline
|
|
TextInputBox <input> at [9,9] flex-item [0+1+0 782 0+1+0] [0+1+0 20 0+1+0] [BFC] children: not-inline
|
|
Box <div> at [11,10] flex-container(row) [0+0+2 778 2+0+0] [0+0+1 18 1+0+0] [FFC] children: not-inline
|
|
BlockContainer <div> at [11,10] flex-item [0+0+0 778 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 0, rect: [11,10 0x18] baseline: 13.796875
|
|
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)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x38]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x22]
|
|
PaintableBox (Box<DIV>.layout-container) [8,8 784x22]
|
|
PaintableBox (Box<DIV>.cpd-form-field) [8,8 784x22]
|
|
PaintableWithLines (TextInputBox<INPUT>) [8,8 784x22]
|
|
PaintableBox (Box<DIV>) [9,9 782x20]
|
|
PaintableWithLines (BlockContainer<DIV>) [11,10 778x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,30 784x0]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x38] [children: 0] (z-index: auto)
|