chenbo007 / svg-edit

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

Cloning an object with a gradient in Opera 10 beta 3 gives a "parsing error" every time #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Draw a circle
2. Fill it with a gradient (begin stop color, end stop color, opacity, etc.)
3. Clone the object
4. You now get 2 objects with a gradient
5. Hit "Save"

What is the expected output? 

The data:... page opens, allowing to save the file

What do you see instead?

In Firefox, this works perfectly (although you get a black fill instead of
the gradient fill). You can save the file (I'll attach the SVG below)

In Opera 10 beta 3, the data:uri page doesn't not open. Instead, you get a
"parsing error"
XML parsing failed: syntax error (Line: 10, Character: 109)

 10:  <circle stroke-opacity="1" id="svg_3" fill-opacity="1"
stroke-width="5" stroke="#000000" fill="url(#svg_2)" id="svg_1"
r="78.00640869140625" cy="119" cx="169"/>

id="svg_1" is highlighted

In what browser did you experience this problem? (ALL, Firefox, Opera 10
Alpha, etc)

Opera 10 beta 3

(Note: Opera 10 beta 3 displays a "non-filled" object if you do "Save"
after the first object - while Firefox fills it with black

Original issue reported on code.google.com by worms_...@yahoo.com on 25 Aug 2009 at 8:35

GoogleCodeExporter commented 9 years ago
Attaching SVG

Original comment by worms_...@yahoo.com on 25 Aug 2009 at 8:37

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r464, along with some other minor things.

Original comment by codedr...@gmail.com on 25 Aug 2009 at 12:41