mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-26 19:22:30 -05:00
7f9ede07bc
Separating the paths for replaced and non-replaced floating boxes lost the logic for margin, padding and border which was done by compute_width_for_floating_box. Set them the same way as we do for block-level replaced elements, per the specification.
16 lines
958 B
Text
16 lines
958 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x116 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <body> at (8,16) content-size 784x17.46875 children: not-inline
|
|
BlockContainer <(anonymous)> at (8,16) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
ImageBox <img> at (8,16) content-size 200x100 floating children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <p> at (8,16) content-size 784x17.46875 children: inline
|
|
line 0 width: 37.21875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 4, rect: [228,16 37.21875x17.46875]
|
|
"Test"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,49.46875) content-size 784x0 children: inline
|
|
TextNode <#text>
|