Don't force whitespace for elliptical paths (fixes #89)

This was only required in an early draft of the SVG spec (an error that was corrected later, see [1,2])

[1] https://github.com/scour-project/scour/issues/89#issuecomment-244216600
[2] https://github.com/scour-project/scour/issues/89#issuecomment-244337118
This commit is contained in:
Eduard Braun 2017-02-24 03:04:15 +01:00
parent 2ebe9741b2
commit 090884a70f
3 changed files with 3 additions and 16 deletions

View file

@ -1640,15 +1640,6 @@ class PropagateCommonAttributesUp(unittest.TestCase):
'Did not move common fill attribute to grandparent')
class PathEllipticalArcParsingCommaWsp(unittest.TestCase):
def runTest(self):
p = scourXmlFile('unittests/path-elliptical-arc-parsing.svg') \
.getElementsByTagNameNS(SVGNS, 'path')[0]
self.assertEqual(p.getAttribute('d'), 'm100 100a100 100 0 1 1 -50 100z',
'Did not parse elliptical arc command properly')
class RemoveUnusedAttributesOnParent(unittest.TestCase):
def runTest(self):