summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorkitfox2009-05-06 01:23:52 +0200
committerkitfox2009-05-06 01:23:52 +0200
commit566416b25fb7222d957f724b24d0430e58e25763 (patch)
tree045c13b3a57544e70b536693fb48e020c546bf5a /src/main
parentAdded rebuild() to AnimateElement that will allow the user to change the xml ... (diff)
downloadsvg-salamander-core-566416b25fb7222d957f724b24d0430e58e25763.tar.gz
svg-salamander-core-566416b25fb7222d957f724b24d0430e58e25763.tar.xz
svg-salamander-core-566416b25fb7222d957f724b24d0430e58e25763.zip
Color table now parses the 'currentColor' color
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@66 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/kitfox/svg/xml/ColorTable.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/kitfox/svg/xml/ColorTable.java b/src/main/java/com/kitfox/svg/xml/ColorTable.java
index 5152823..0acba6d 100644
--- a/src/main/java/com/kitfox/svg/xml/ColorTable.java
+++ b/src/main/java/com/kitfox/svg/xml/ColorTable.java
@@ -44,9 +44,9 @@ public class ColorTable
HashMap table = new HashMap();
//We really should be interpreting the currentColor keyword as
- // a reference to the referrring node's color, but this quick hack
+ // a reference to the referring node's color, but this quick hack
// will stop the program from crashing.
- table.put("currentColor", new Color(0x0));
+ table.put("currentcolor", new Color(0x0));
table.put("aliceblue", new Color(0xf0f8ff));
table.put("antiquewhite", new Color(0xfaebd7));