summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/kitfox/svg/RenderableElement.java2
-rw-r--r--src/main/java/com/kitfox/svg/SVGElement.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/kitfox/svg/RenderableElement.java b/src/main/java/com/kitfox/svg/RenderableElement.java
index b27a291..0928454 100644
--- a/src/main/java/com/kitfox/svg/RenderableElement.java
+++ b/src/main/java/com/kitfox/svg/RenderableElement.java
@@ -127,7 +127,7 @@ abstract public class RenderableElement extends TransformableElement
// StyleAttribute styleAttrib = getStyle("clip-path", false);
Shape clipPath = null;
int clipPathUnits = ClipPath.CP_USER_SPACE_ON_USE;
- if (getStyle(styleAttrib.setName("clip-path")))
+ if (getStyle(styleAttrib.setName("clip-path"), false))
{
URI uri = styleAttrib.getURIValue(getXMLBase());
if (uri != null)
diff --git a/src/main/java/com/kitfox/svg/SVGElement.java b/src/main/java/com/kitfox/svg/SVGElement.java
index 2ec7ae3..e1bdb31 100644
--- a/src/main/java/com/kitfox/svg/SVGElement.java
+++ b/src/main/java/com/kitfox/svg/SVGElement.java
@@ -547,7 +547,7 @@ abstract public class SVGElement implements Serializable
* @param attrib - Attribute to write style data to. Must have it's name
* set to the name of the style being queried.
* @param recursive - If true and this object does not contain the
- * named style attribute, checks attributes of parents abck to root until
+ * named style attribute, checks attributes of parents back to root until
* one found.
*/
public boolean getStyle(StyleAttribute attrib, boolean recursive) throws SVGException