mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:27:34 +00:00
LibWeb: Support implicit lineto commands after moveto in SVG paths
Per SVG2, any coordinate pairs following a moveto command should be treated as implicit lineto commands with the same absoluteness as the moveto command.
This commit is contained in:
parent
8d0985ef01
commit
7f79208759
3 changed files with 22 additions and 2 deletions
|
@ -0,0 +1,6 @@
|
|||
<!DOCTYPE html><html><body><svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="100"
|
||||
height="100"
|
||||
viewBox="0 0 10 10"
|
||||
><path d="M 2 2 5 8 8 2 z"></path></svg>
|
Loading…
Add table
Add a link
Reference in a new issue