1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:47:34 +00:00

LibWeb: Include SVG-as-image isolated contexts in layout/DOM tree dumps

This allows us to see the inside of SVG-as-image in layout tests. :^)
This commit is contained in:
Andreas Kling 2023-05-21 07:02:41 +02:00
parent 24ea78c613
commit 94a26e2715
3 changed files with 43 additions and 1 deletions

View file

@ -2,3 +2,9 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x1584 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x1568 children: not-inline
ImageBox <img> at (8,8) content-size 784x1568 children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at (0,0) content-size 0x0 children: inline
SVGSVGBox <svg> at (0,0) content-size 0x0 [SVG] children: inline
TextNode <#text>
SVGGeometryBox <rect> at (0,0) content-size 0x0 children: not-inline
TextNode <#text>