Skip to content

Commit

Permalink
fix(covertPathData): add test case for #1927
Browse files Browse the repository at this point in the history
  • Loading branch information
SethFalco committed Jan 6, 2024
1 parent 127594f commit ac56ec3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/plugins/convertPathData.36.svg.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Should convert C to Q
Should process/optimize q correctly even if useless commands in between.

===

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 20">
<path d="M-6.3 9.9q.7-4.5.2-5-.5-.5-1.5-.5l0 0q-.4 0-2 .3"/>
</svg>

@@@

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 20">
<path d="M-6.3 9.9q.7-4.5.2-5t-1.5-.5q-.4 0-2 .3"/>
</svg>

0 comments on commit ac56ec3

Please sign in to comment.