Files
ladybird/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-followed-by-inline.txt
Jelle Raaijmakers 15103d172c LibWeb: Apply remaining vertical float clearance to next block level box
Whenever we generate line boxes, we might end up with a residual
vertical float clearance by way of having a `<br>` with `clear: ..` set.
Set the Y offset of the next block level box to place by this vertical
clearance.

Relates to #4058.
2025-03-27 17:21:56 +00:00

16 lines
774 B
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x133 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x117 children: inline
frag 0 from TextNode start: 1, length: 3, rect: [8,108 27.15625x17] baseline: 13.296875
"foo"
BlockContainer <div.a> at (8,8) content-size 100x100 floating [BFC] children: not-inline
TextNode <#text>
BreakNode <br.b>
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x133]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x117]
PaintableWithLines (BlockContainer<DIV>.a) [8,8 100x100]
TextPaintable (TextNode<#text>)