1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:57:46 +00:00

LibWeb: Add SVG <ellipse> element and test case :^)

This commit is contained in:
Sam Atkins 2022-02-11 16:45:59 +00:00 committed by Andreas Kling
parent 21bdcee3c3
commit 3a1a35ef8f
10 changed files with 139 additions and 0 deletions

View file

@ -50,6 +50,12 @@
<!-- Based on https://svgwg.org/svg2-draft/shapes.html#CircleElement -->
<circle cx="100" cy="550" r="40" fill="red" stroke="blue" stroke-width="4" />
<!-- Based on https://svgwg.org/svg2-draft/shapes.html#EllipseElement -->
<ellipse cx="250" cy="550" rx="50" ry="20" fill="red" />
<g transform="translate(400 550) rotate(-30)">
<ellipse rx="50" ry="20" fill="none" stroke="blue" stroke-width="4" />
</g>
</svg>
</body>
</html>