ladybird/Tests/LibWeb/Layout/expected/svg/svg-inside-inline-block.txt
Jelle Raaijmakers 352a66390f LibWeb: Do not resolve inline block height early if height is definite
This condition was included to implement flex containers with auto
height, but it actually can reset the definitive height to 0 for inline
blocks with only replaced elements such as an SVG. Removing the
condition does not break any in-tree test, so let's improve the
situation on the SVG side of things for now.
2024-10-25 15:13:30 +02:00

18 lines
1.1 KiB
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#a> at (8,8) content-size 100x50 children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 100x50] baseline: 50
TextNode <#text>
BlockContainer <div#b> at (8,8) content-size 100x50 inline-block [BFC] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 100x50] baseline: 50
TextNode <#text>
SVGSVGBox <svg> at (8,8) content-size 100x50 [SVG] children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x66]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x50]
PaintableWithLines (BlockContainer<DIV>#a) [8,8 100x50]
PaintableWithLines (BlockContainer<DIV>#b) [8,8 100x50]
SVGSVGPaintable (SVGSVGBox<svg>) [8,8 100x50]