From 33ae9554a3ad67ccc0e6caca9439009e619038d7 Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Mon, 14 Sep 2009 19:11:06 +0000 Subject: [PATCH] No reason to introduce a SVG rect here, we can just use the background-color or background-image of the svgcanvas div git-svn-id: http://svg-edit.googlecode.com/svn/trunk@644 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 04080ce4..a13ef7fc 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -563,13 +563,6 @@ function BatchCommand(text) { svgroot.setAttribute("xmlns", svgns); svgroot.setAttribute("xmlns:xlink", xlinkns); container.appendChild(svgroot); - var svgbkgnd = svgdoc.createElementNS(svgns, "rect"); - svgbkgnd.setAttribute("width", "100%"); - svgbkgnd.setAttribute("height", "100%"); - svgbkgnd.setAttribute("fill", "none"); - svgbkgnd.setAttribute("fill-opacity", "100%"); - svgbkgnd.setAttribute("id", "svgbkgnd"); - svgroot.appendChild(svgbkgnd); var svgzoom = svgdoc.createElementNS(svgns, "svg"); svgzoom.setAttribute('id', 'svgzoom'); svgzoom.setAttribute('viewBox', '0 0 640 480');