rebootcode / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

Open SVG doesn't work for WebKit (DOM exception) #864

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open an svg-edit demo in a webkit browser
2. Try to open a file (also from URL)

What is the expected output? What do you see instead?
I get in svg-edit "Error: Unable to load SVG data". In the terminal, I get:

** Message: console message: 
file:///home/prueba/Escritorio/amatzin/1/svgeditor/svgcanvas.js @5707: Error: 
HIERARCHY_REQUEST_ERR: DOM Exception 3

which is a DOM Exception. I did a quick search in svgcanvas.js but really I 
don't know exactly how that script works.

In what browser did you experience this problem? (ALL, Firefox, Opera, etc)
Epiphany, but also using the webkit library directly from python

In what version of SVG-edit does the problem occur? (Latest trunk, 2.5.1,
etc)
Lastest trunk (2.6 alpha)

Please provide any additional information below.
If I include the script option to load an svg script in svg-editor.html, it 
loads the svg file correctly. This bug does not happen in Firefox, and also 
doesn't happen using the stable build on webkit.

Original issue reported on code.google.com by GAndreOl...@gmail.com on 9 Oct 2011 at 6:10