mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-09 09:17:13 +00:00
This commit introduces proper handling of three intrinsic size keywords when used for CSS heights: - min-content - max-content - fit-content This necessitated a few plumbing changes, since we can't resolve these values without having access to containing block widths. This fixes some visual glitches on https://www.supabase.com/ as well as a number of WPT tests. It also improves the appearance of dialogs.
17 lines
1014 B
Plaintext
17 lines
1014 B
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x16 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <dialog#dialog> at (196.671875,275.5) content-size 406.65625x49 positioned [BFC] children: not-inline
|
|
BlockContainer <p> at (196.671875,291.5) content-size 406.65625x17 children: inline
|
|
frag 0 from TextNode start: 0, length: 50, rect: [196.671875,291.5 406.65625x17] baseline: 13.296875
|
|
"Dialog's layout node should be a child of viewport"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x16]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x0]
|
|
PaintableWithLines (BlockContainer<DIALOG>#dialog) [177.671875,256.5 444.65625x87]
|
|
PaintableWithLines (BlockContainer<P>) [196.671875,291.5 406.65625x17]
|
|
TextPaintable (TextNode<#text>)
|