ladybird/Tests/LibWeb/Layout/expected/svg/foreignObject-and-mask-with-different-viewbox.txt
Andreas Kling aae0b52403 LibWeb: Resolve mask/clip in foreignObject's own coordinate space
We were neglecting to resolve these correctly, which caused them to get
the same metrics as the nearest viewport above the foreignObject.
2025-07-09 14:36:08 +02:00

22 lines
1.5 KiB
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 <body> at (8,8) content-size 784x100 children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 100x100] baseline: 100
SVGSVGBox <svg> at (8,8) content-size 800x800 positioned [SVG] children: not-inline
SVGSVGBox <svg> at (8,8) content-size 100x100 [SVG] children: not-inline
SVGForeignObjectBox <foreignObject> at (8,8) content-size 40x40 [BFC] children: not-inline
BlockContainer <div#lol> at (8,8) content-size 100x100 children: not-inline
SVGMaskBox <mask#theMask> at (8,8) content-size 40x40 children: not-inline
SVGGeometryBox <circle> at (8,8) content-size 40x40 children: not-inline
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 808x808]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x116]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x100]
SVGSVGPaintable (SVGSVGBox<svg>) [8,8 800x800]
SVGSVGPaintable (SVGSVGBox<svg>) [8,8 100x100]
SVGForeignObjectPaintable (SVGForeignObjectBox<foreignObject>) [8,8 40x40] overflow: [8,8 100x100]
PaintableWithLines (BlockContainer<DIV>#lol) [8,8 100x100]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x116] [children: 1] (z-index: auto)
SC for SVGForeignObjectBox<foreignObject> [8,8 40x40] [children: 0] (z-index: auto)