From ea622fc41980e249f6401669cca46486cf3c244f Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Fri, 3 Jul 2009 11:37:20 +0000 Subject: [PATCH] Minor modification to last night's Firefox 2- fix git-svn-id: http://svg-edit.googlecode.com/svn/trunk@261 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 91d92f64..32dca60e 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -576,9 +576,10 @@ function SvgCanvas(c) var changes = {}; // This fixes Firefox 2- behavior - for whatever reason, simply removing the transform - // attribute was not having the proper effect on the element, so we set it to a null + // attribute was not having the proper effect on the element, so we set it to an empty // transform, then remove the attribute - selected.setAttribute("transform", "translate(0,0)"); + // see https://bugzilla.mozilla.org/show_bug.cgi?id=320622 + selected.setAttribute("transform", ""); selected.removeAttribute("transform"); switch (selected.tagName) {