mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
Previously floats would be placed next to the highest float that fitted the new float on its line. However, this violates the rule that floats should be placed under the preceding float if it does not fit next to it.
34 lines
2.0 KiB
Plaintext
34 lines
2.0 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x168 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <body> at (8,8) content-size 784x152 children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.container> at (9,9) content-size 100x150 children: inline
|
|
frag 0 from TextNode start: 1, length: 11, rect: [9,9 99.109375x18] baseline: 13.796875
|
|
"abc abc abc"
|
|
frag 1 from TextNode start: 13, length: 11, rect: [9,27 99.109375x18] baseline: 13.796875
|
|
"abc abc abc"
|
|
TextNode <#text>
|
|
BlockContainer <div.left.w80.red> at (9,45) content-size 80x50 floating [BFC] children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <div.left.w40.yellow> at (9,95) content-size 40x50 floating [BFC] children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <div.left.w20.blue> at (49,95) content-size 20x50 floating [BFC] children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,160) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x168]
|
|
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x152]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
|
PaintableWithLines (BlockContainer<DIV>.container) [8,8 102x152]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.left.w80.red) [9,45 80x50]
|
|
PaintableWithLines (BlockContainer<DIV>.left.w40.yellow) [9,95 40x50]
|
|
PaintableWithLines (BlockContainer<DIV>.left.w20.blue) [49,95 20x50]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,160 784x0]
|