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:
parent
dcb6ed414c
commit
49b35bf6d1
8 changed files with 455 additions and 15 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue