summaryrefslogtreecommitdiffstats
path: root/src/doc.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-23 12:31:19 +0100
committerwout <wout@impinc.co.uk>2012-12-23 12:31:19 +0100
commit9231e02fe876e3faa9c13a879223426284a7a921 (patch)
treeb44425f4935da436640e9234cbb351dbe322d65a /src/doc.js
parent1ae730fec364f70d4541f38930929607dc2a31ac (diff)
downloadsvg.js-9231e02fe876e3faa9c13a879223426284a7a921.tar.gz
svg.js-9231e02fe876e3faa9c13a879223426284a7a921.zip
Fine-tuned safari bug fix
Diffstat (limited to 'src/doc.js')
-rw-r--r--src/doc.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/doc.js b/src/doc.js
index 0322e86..0669c52 100644
--- a/src/doc.js
+++ b/src/doc.js
@@ -8,9 +8,8 @@ SVG.Doc = function Doc(e) {
// set
this.
- attr({ xmlns: SVG.ns, version: '1.1', style: 'position:relative;' }).
+ attr({ xmlns: SVG.ns, version: '1.1' }).
attr('xlink', SVG.xlink, SVG.ns).
- size(e.offsetWidth, e.offsetHeight).
defs();
e.appendChild(this.node);