Files
ladybird/Tests/LibWeb/Layout/expected/svg/foreignObject-with-mask.txt
Jelle Raaijmakers f4b04beccd LibWeb: Show inline positioning in layout tree dump
Inline nodes in our layout tree have a position, so let's show it. By
centralizing the logic for this, block nodes now lose their redundant
'content-size' dump info which is already part of the box model dump.
2025-08-27 11:53:45 +01:00

30 lines
2.0 KiB
Plaintext

Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 48 0+0+8] children: not-inline
SVGSVGBox <svg> at [8,8] [0+0+0 48 0+0+736] [0+0+0 48 0+0+0] [SVG] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SVGForeignObjectBox <foreignObject> at [26,36] [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div.lmao> at [31,41] [0+5+0 40 0+5+-10] [0+5+0 40 0+5+0] children: not-inline
SVGMaskBox <mask#rektMask> at [16,16] [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] children: inline
TextNode <#text> (not painted)
SVGGraphicsBox <use> at [16,16] [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] children: not-inline
SVGGeometryBox <rect#rekt> at [16,16] [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] children: not-inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x64]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x48]
SVGSVGPaintable (SVGSVGBox<svg>) [8,8 48x48] overflow: [8,8 58x68]
SVGForeignObjectPaintable (SVGForeignObjectBox<foreignObject>) [26,36 40x40] overflow: [26,36 50x50]
PaintableWithLines (BlockContainer<DIV>.lmao) [26,36 50x50]
PaintableWithLines (BlockContainer(anonymous)) [8,56 784x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] [children: 1] (z-index: auto)
SC for SVGForeignObjectBox<foreignObject> [26,36 40x40] [children: 0] (z-index: auto)