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
master
Jeff Schiller 2009-09-14 19:11:06 +00:00
parent 3065e6a451
commit 33ae9554a3
1 changed files with 0 additions and 7 deletions

View File

@ -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');