mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:27:35 +00:00

We need to call prepare_for_replaced_layout() on grid items to populate their natural sizes and aspect ration.
11 lines
681 B
Text
11 lines
681 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x516 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x500 children: not-inline
|
|
Box <div.grid> at (8,8) content-size 100x500 [GFC] children: not-inline
|
|
ImageBox <img> at (8,8) content-size 500x500 children: not-inline
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x516]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x500]
|
|
PaintableBox (Box<DIV>.grid) [8,8 100x500] overflow: [8,8 500x500]
|
|
ImagePaintable (ImageBox<IMG>) [8,8 500x500]
|