What steps will reproduce the problem?
1. Import SVG file into an empty background layer using
svgcanvas.importSvgString
2. Display the SVG-editor output with an object tag on a separate page as this:
<object id="Ex" type="image/svg+xml"
data="data:image/svg+xml;base64, BASE64_ENCODED_SVG-EDITOR-OUTPUT ... />
What is the expected output? What do you see instead?
The imported data does not show up.
In what browser did you experience this problem? (ALL, Firefox, Opera, etc)
The problem only occurs in Firefox (3.5.18 and 4.0 on OS X). The expected
output appears correctly with Chrome and Safari.
In what version of SVG-edit does the problem occur? (Latest trunk, 2.5.1,
etc)
Version 2.6 alpha.
Please provide any additional information below.
The problem is that svgcanvas.importSvgString in this version of SVG-edit
imports SVG code into a symbol in <defs> and Firefox can not handle this when
using embedded data in an object tag. I have replaced importSvgString with the
earlier version from SVG-edit 2.5.1, which does not store in a symbol, and here
it works in all the three tested browsers.
Original issue reported on code.google.com by chrille....@gmail.com on 27 Mar 2011 at 5:27
Original issue reported on code.google.com by
chrille....@gmail.com
on 27 Mar 2011 at 5:27