Files
ladybird/Tests/LibWeb/Layout/expected/grid/stretch-in-fr-tracks.txt
Aliaksandr Kalenik ef6829364a LibWeb: Skip intrinsic sizing for stretched grid items
For grid items with auto preferred size, stretch/normal alignment, and
no auto margins, the final size is simply the containing block size
minus margin box sizes. We can compute this directly without calling
`calculate_fit_content_width/height`, which triggers expensive intrinsic
sizing layout passes.
2026-01-08 19:37:14 +01:00

50 lines
2.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 [1,1] [0+1+0 798 0+1+0] [0+1+0 220 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 202 0+1+8] children: not-inline
Box <div.grid> at [11,11] [0+1+0 200 0+1+578] [0+1+0 200 0+1+0] [GFC] children: not-inline
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
BlockContainer <div.item> at [12,12] [0+1+0 98 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [12,12 6.34375x18] baseline: 13.796875
"1"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
BlockContainer <div.item> at [112,12] [0+1+0 98 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [112,12 8.8125x18] baseline: 13.796875
"2"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
BlockContainer <div.item> at [12,112] [0+1+0 98 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [12,112 9.09375x18] baseline: 13.796875
"3"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
BlockContainer <div.item> at [112,112] [0+1+0 98 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [112,112 7.75x18] baseline: 13.796875
"4"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [10,212] [0+0+0 780 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 800x222]
PaintableWithLines (BlockContainer<BODY>) [9,9 782x204]
PaintableBox (Box<DIV>.grid) [10,10 202x202]
PaintableWithLines (BlockContainer<DIV>.item) [11,11 100x100]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.item) [111,11 100x100]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.item) [11,111 100x100]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.item) [111,111 100x100]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [10,212 780x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x220] [children: 0] (z-index: auto)