summaryrefslogtreecommitdiffstats
path: root/src/clip.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-23 11:52:07 +0100
committerwout <wout@impinc.co.uk>2012-12-23 11:52:07 +0100
commit1ae730fec364f70d4541f38930929607dc2a31ac (patch)
tree16630efcc4b3ce6a09454681141518a05e4acde4 /src/clip.js
parent70394584bec59f0b01998b9b54479bb913b0b32a (diff)
downloadsvg.js-1ae730fec364f70d4541f38930929607dc2a31ac.tar.gz
svg.js-1ae730fec364f70d4541f38930929607dc2a31ac.zip
Fixed a bug in safari prevending correct dy on tspans
Diffstat (limited to 'src/clip.js')
-rw-r--r--src/clip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clip.js b/src/clip.js
index f4fba45..9b106b4 100644
--- a/src/clip.js
+++ b/src/clip.js
@@ -19,7 +19,7 @@ SVG.extend(SVG.Element, {
// clip element using another element
clip: function(b) {
- var p = this.mother().defs().clip();
+ var p = this.parent.defs().clip();
b(p);
return this.clipTo(p);