Files
ladybird/Tests/LibWeb/Layout/expected/flex/inline-flex-with-main-axis-margin-on-flex-container.txt
Jelle Raaijmakers 6a29b8cc03 LibWeb: Derive inline-block baseline from nested content
Compute inline-block baselines by traversing into nested block children
to find the last in-flow line box, using correct offsets relative to the
margin box edge.

Also ensure inline-flex and inline-grid containers always derive their
baseline from content (per CSS Align), and add special handling for
<input> elements which have `overflow: clip` in the UA stylesheet but
should still align adjacent text with their internal content.
2026-01-22 19:36:09 +01:00

18 lines
1.1 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 [1,1] [0+1+0 500 0+1+298] [0+1+0 38 0+1+0] [BFC] children: inline
frag 0 from Box start: 0, length: 0, rect: [10,10 162.40625x20] baseline: 23.796875
Box <body> at [10,10] flex-container(row) [8+1+0 162.40625 0+1+100] [8+1+0 20 0+1+8] [FFC] children: not-inline
BlockContainer <div> at [11,11] flex-item [0+1+0 160.40625 0+1+0] [0+1+0 18 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 20, rect: [11,11 160.40625x18] baseline: 13.796875
"Immobilie inserieren"
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 502x40]
PaintableBox (Box<BODY>) [9,9 164.40625x22]
PaintableWithLines (BlockContainer<DIV>) [10,10 162.40625x20]
TextPaintable (TextNode<#text>)
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [1,1 500x38] [children: 0] (z-index: auto)