aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-01-05 22:20:17 +0100
committerwout <wout@impinc.co.uk>2013-01-05 22:20:17 +0100
commit6175f1a3b22e9ec5959f275657f521b7b30379d1 (patch)
tree05bb452c52163487e7fe8898e199ec6979b6a2fe /src
parenteb58a52f9ad219331961119bf114480a58f7b17c (diff)
downloadsvg.js-6175f1a3b22e9ec5959f275657f521b7b30379d1.tar.gz
svg.js-6175f1a3b22e9ec5959f275657f521b7b30379d1.zip
Fix in animatabel attr
Diffstat (limited to 'src')
-rw-r--r--src/element.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/element.js b/src/element.js
index a67e9fe..30f4778 100644
--- a/src/element.js
+++ b/src/element.js
@@ -10,7 +10,16 @@ SVG.Element = function Element(node) {
this.attrs = {
'fill-opacity': 1,
'stroke-opacity': 1,
- 'stroke-width': 0
+ 'stroke-width': 0,
+ x: 0,
+ y: 0,
+ cx: 0,
+ cy: 0,
+ width: 0,
+ height: 0,
+ r: 0,
+ rx: 0,
+ ry: 0
};
/* initialize transformation store with defaults */