From 1e6201a3a4bf59d5b2023427ea8984ac92dabded Mon Sep 17 00:00:00 2001 From: JSCHILL1 Date: Sat, 4 Apr 2009 00:01:56 -0500 Subject: [PATCH] Added some TODOs --- scour.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scour.py b/scour.py index 4a60b60..163e94a 100755 --- a/scour.py +++ b/scour.py @@ -22,10 +22,12 @@ # TODOs: # -# 7) Implement a function that will remove all unreferenced id attributes from -# from an SVG document (xlink:href="#someid", fill="url(#someid)", etc) -# 8) Implement a function that will remove all gradients that have no id -# 9) Implement command-line options to run the above 2 rules +# 8) Implement a function that will remove all elements in a defs that have no id +# 9) Repeatedly run the two rules until no attributes or elements have been removed +# 10) Remove all inkscape/sodipodi namespaced elements +# 11) Remove all inkscape/sodipodi namespaced attributes +# 12) Command-line switches to enable/disable each option +# 13) Look into automating the testing (how to do reftest?) import sys import string