Files
ladybird/Tests/LibWeb/Layout/expected/block-and-inline/float-with-negative-margins.txt
Jelle Raaijmakers 8257788a20 LibWeb: Ignore negative margins for margin box rect
Negative margins are processed through the `offset` in layout state, and
should not contribute to the margin box' rect's size or position.

Fixes #4249.
2025-04-11 02:34:28 +01:00

14 lines
753 B
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x48 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x0 children: inline
BlockContainer <div.r> at (8,-2) content-size 50x50 floating [BFC] children: not-inline
TextNode <#text>
BlockContainer <div.g> at (58,-2) content-size 50x50 floating [BFC] children: not-inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x48]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x0]
PaintableWithLines (BlockContainer<DIV>.r) [8,-2 50x50]
PaintableWithLines (BlockContainer<DIV>.g) [58,-2 50x50]