Use decimals for path data and limit to 6 digits of precision
This commit is contained in:
parent
ec4e7b3594
commit
29fdd5ba66
4 changed files with 44 additions and 20 deletions
3
unittests/path-precision.svg
Normal file
3
unittests/path-precision.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
<path d="M 100.0000001 99.9999999 h100.001 v100 h-100 z" fill="red" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 157 B |
Loading…
Add table
Add a link
Reference in a new issue