diff options
author | wout <wout@impinc.co.uk> | 2012-12-23 18:43:00 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-23 18:43:00 +0100 |
commit | 31407d2580738c9522c87cd22917a872d6a5dcd8 (patch) | |
tree | f0538782452c5ec51f054936d0ee35d4d2b544c9 /src/doc.js | |
parent | 18310896cc0c643c2dbe5695a26904c81f43f823 (diff) | |
download | svg.js-31407d2580738c9522c87cd22917a872d6a5dcd8.tar.gz svg.js-31407d2580738c9522c87cd22917a872d6a5dcd8.zip |
Defaulting <svg> width and height to 100%
Diffstat (limited to 'src/doc.js')
-rw-r--r-- | src/doc.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ SVG.Doc = function Doc(e) { // set svg element attributes this. - attr({ xmlns: SVG.ns, version: '1.1' }). + attr({ xmlns: SVG.ns, version: '1.1', width: '100%', height: '100%' }). attr('xlink', SVG.xlink, SVG.ns). defs(); |