Scour length values for most attributes. Fix removal of duplicate gradients again. Two more unittests

This commit is contained in:
JSCHILL1 2009-08-03 12:23:41 -05:00
parent 3371177b80
commit 6fce13b84f
4 changed files with 102 additions and 34 deletions

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<path fill="green" d="M100,100 L200.12345,200.12345 C210,210 190,190 200.12,200.12 Z"/>
</svg>

After

Width:  |  Height:  |  Size: 235 B

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<rect x="123.4567" y="123.00" width="300.00001" height="1E+02" fill="lime" />
<rect x="123.4567px" y="35.000ex" width="300.00001pt" height="5E+01%" fill="blue" />
</svg>

After

Width:  |  Height:  |  Size: 267 B