Open GoogleCodeExporter opened 8 years ago
It looks like the underlying problem is that removeAttribute('transform') does
not work in IE. See http://jsfiddle.net/gvfLg/ for a demonstration. The
workaround seems to be to call setAttribute('transform', '').
This appears to be a known issue as there are already places in svgcanvas.js
and recalculate.js which call setAttribute('transform', ''); however, this is
not done consistently throughout the code.
Specifically for this bug the problem appears to be line 808 of recalculate.js:
http://code.google.com/p/svg-edit/source/browse/trunk/editor/recalculate.js?r=25
09#808
Adding selected.setAttribute('transform', '') before that line appears to fix
the problem in IE.
Original comment by e...@siliconforks.com
on 2 Sep 2013 at 10:20
Original issue reported on code.google.com by
e...@siliconforks.com
on 2 Sep 2013 at 12:38Attachments: