mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:57:35 +00:00
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:
parent
344eb98b3c
commit
74b655d035
6 changed files with 71 additions and 35 deletions
|
@ -0,0 +1,6 @@
|
|||
<!DOCTYPE html><svg height="350" width="100%"><circle
|
||||
cx="50%"
|
||||
cy="170"
|
||||
r="150"
|
||||
fill="black"
|
||||
></circle></svg>
|
Loading…
Add table
Add a link
Reference in a new issue