mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
`grid-template-rows: fit-content(100px)` had no effect when the grid container lacked an explicit height, because the fit-content growth limit clamping was gated behind `available_size.is_definite()`. Fix by normalizing fit-content tracks with unresolvable percentage arguments to max-content during track initialization, then applying the fit-content clamp unconditionally. Fixes https://github.com/LadybirdBrowser/ladybird/issues/7730
20 lines
1.3 KiB
Plaintext
20 lines
1.3 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 116 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: not-inline
|
|
Box <div.grid> at [8,8] [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] [GFC] children: not-inline
|
|
BlockContainer <div.wrapper> at [8,8] [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <div.inner> at [8,8] [0+0+0 200 0+0+584] [0+0+0 200 0+0+0] children: not-inline
|
|
BlockContainer <(anonymous)> at [8,108] [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 800x116]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x100]
|
|
PaintableBox (Box<DIV>.grid) [8,8 784x100]
|
|
PaintableWithLines (BlockContainer<DIV>.wrapper) [8,8 784x100] overflow: [8,8 784x200]
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [8,8 200x200]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,108 784x0]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x116] [children: 0] (z-index: auto)
|