aboutsummaryrefslogtreecommitdiffstats
path: root/src/text.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-01-01 21:39:25 +0100
committerwout <wout@impinc.co.uk>2013-01-01 21:39:25 +0100
commit88987d60c456f1e686edd226f4ccb45e35142cd7 (patch)
tree719bd1c6ea1e18bae81ea9a8083742184eb422e9 /src/text.js
parent5e7c26e9423f3c543e04bc9a11656125ec7bf8ca (diff)
downloadsvg.js-88987d60c456f1e686edd226f4ccb45e35142cd7.tar.gz
svg.js-88987d60c456f1e686edd226f4ccb45e35142cd7.zip
Replaced clip() in favor of mask()
Some browsers had issues with clipping, masking was a better option.
Diffstat (limited to 'src/text.js')
-rw-r--r--src/text.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.js b/src/text.js
index 3fe3f0b..50a05b7 100644
--- a/src/text.js
+++ b/src/text.js
@@ -72,7 +72,7 @@ function TSpan() {
this.constructor.call(this, SVG.create('tspan'));
};
-// inherit from SVG.Element
+// inherit from SVG.Shape
TSpan.prototype = new SVG.Shape();
// include the container object