1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:57:35 +00:00
serenity/Tests/LibWeb/Layout/expected/svg/svg-intrinsic-size-in-one-dimension.txt
MacDue 4c5d48f861 LibWeb: Support transforms, stroking, gradients, etc for SVG <text>
This makes use of the new Gfx::Path::text() to handle SVG text elements,
with this text is just a regular path, and can be manipulated like any
other graphics element.

This removes the SVGTextPaintable and makes both <text> and geometry
elements use a new (shared) SVGPathPaintable. This is identical to the
old SVGGeometryPaintable. This simplifies painting as once something is
resolved to a Gfx::Path, the painting logic is the same.
2023-11-05 02:46:46 +01:00

15 lines
963 B
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x170 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x154 children: not-inline
SVGSVGBox <svg> at (9,9) content-size 100x50 [SVG] children: not-inline
SVGGeometryBox <rect> at (21.5,21.5) content-size 75x25 children: not-inline
SVGSVGBox <svg> at (9,61) content-size 200x100 [SVG] children: not-inline
SVGGeometryBox <rect> at (34,86) content-size 150x50 children: not-inline
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x170]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x154]
SVGSVGPaintable (SVGSVGBox<svg>) [8,8 102x52]
SVGPathPaintable (SVGGeometryBox<rect>) [21.5,21.5 75x25]
SVGSVGPaintable (SVGSVGBox<svg>) [8,60 202x102]
SVGPathPaintable (SVGGeometryBox<rect>) [34,86 150x50]