mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:47:34 +00:00

When a box does not have a top, left, bottom, or right, there is no need to adjust the offset for positioning relative to the padding edge, because the box remains in the normal flow.
11 lines
799 B
Text
11 lines
799 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x66 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x50 children: not-inline
|
|
BlockContainer <div.box> at (8,58) content-size 784x0 positioned children: not-inline
|
|
BlockContainer <div.inner> at (8,58) content-size 784x50 positioned [BFC] children: not-inline
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x66] overflow: [0,0 800x108]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x50] overflow: [8,8 784x100]
|
|
PaintableWithLines (BlockContainer<DIV>.box) [8,8 784x50] overflow: [8,8 784x100]
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [8,58 784x50]
|