LibWeb: Update SVG <circle> element to use geometry properties

With this the `<circle>` element now correctly parses percentage sizes,
and resolves them relative to the viewport.

The rest of the geometry elements are still left TODO.
This commit is contained in:
MacDue 2024-03-03 20:47:10 +00:00 committed by Andreas Kling
commit 74b655d035
Notes: sideshowbarker 2024-07-17 06:24:08 +09:00
6 changed files with 71 additions and 35 deletions

View file

@ -0,0 +1,6 @@
<!DOCTYPE html><svg height="350" width="100%"><circle
cx="50%"
cy="170"
r="150"
fill="black"
></circle></svg>