1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:37:35 +00:00

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

This commit is contained in:
Sam Atkins 2022-02-11 16:14:58 +00:00 committed by Andreas Kling
parent 1dde6a0a2b
commit 21bdcee3c3
11 changed files with 132 additions and 0 deletions

View file

@ -47,6 +47,9 @@
<g transform="translate(450 450) rotate(-30)">
<rect x="0" y="0" width="120" height="60" rx="15" fill="none" stroke="purple" stroke-width="9" />
</g>
<!-- Based on https://svgwg.org/svg2-draft/shapes.html#CircleElement -->
<circle cx="100" cy="550" r="40" fill="red" stroke="blue" stroke-width="4" />
</svg>
</body>
</html>