mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 05:17:34 +00:00

Previously, the width and height of grid items were set to match the size of the grid area they belonged to. With this change, if a grid item has preferred width or height specified to not "auto" value it will be resolved using grid area as containing block and used instead.
9 lines
630 B
Text
9 lines
630 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x200 children: not-inline
|
|
Box <div.grid-container> at (8,8) content-size 784x200 [GFC] children: not-inline
|
|
BlockContainer <div.first> at (8,8) content-size 100x200 [BFC] children: inline
|
|
line 0 width: 42.140625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,8 42.140625x17.46875]
|
|
"First"
|
|
TextNode <#text>
|