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:
parent
7dcdc2b00b
commit
d853548c57
3 changed files with 3 additions and 16 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue