Remove text styles from shapes. Remove --inkscape styles. Fix path handling for multiple coords in first Move command. Add --set-precision N argument

This commit is contained in:
JSCHILL1 2009-05-19 10:02:47 -05:00
parent dcb6ed414c
commit 49b35bf6d1
8 changed files with 455 additions and 15 deletions

View file

@ -543,5 +543,10 @@ class AllowQuotEntitiesInUrl(unittest.TestCase):
self.assertEquals( len(grads), 1,
'Removed referenced gradient when " was in the url')
class RemoveFontStylesFromNonTextShapes(unittest.TestCase):
def runTest(self):
r = scour.scourXmlFile('unittests/font-styles.svg').getElementsByTagNameNS(SVGNS, 'rect')[0]
self.assertEquals( r.getAttribute('font-size'), '',
'font-size not removed from rect' )
if __name__ == '__main__':
unittest.main()