diff options
author | kitfox | 2009-05-06 01:23:52 +0200 |
---|---|---|
committer | kitfox | 2009-05-06 01:23:52 +0200 |
commit | 566416b25fb7222d957f724b24d0430e58e25763 (patch) | |
tree | 045c13b3a57544e70b536693fb48e020c546bf5a | |
parent | Added rebuild() to AnimateElement that will allow the user to change the xml ... (diff) | |
download | svg-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
-rw-r--r-- | src/main/java/com/kitfox/svg/xml/ColorTable.java | 4 |
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));
|