mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:17:34 +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
|
@ -8,7 +8,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
SVGGeometryBox <rect> at (8,8) content-size 1x1 children: not-inline
|
||||
TextNode <#text>
|
||||
SVGGeometryBox <circle> at (8.09375,8.09375) content-size 0.796875x0.796875 children: not-inline
|
||||
SVGGeometryBox <circle> at (8.09375,8.09375) content-size 0.8125x0.8125 children: not-inline
|
||||
TextNode <#text>
|
||||
TextNode <#text>
|
||||
SVGGeometryBox <rect> at (8,8) content-size 200x200 children: not-inline
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue