rebootcode / svg-edit

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

Use SVG default attribute values, when missing #968

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Hit U to invoke Edit Source at 
http://svg-edit.googlecode.com/svn/branches/2.4/editor/svg-editor.html
2. Replace the file with the github octocat (it's been scoured): 
https://gist.github.com/1007813
3. Select any of the black element of the #cat.

What is the expected output? What do you see instead?

Expected: it remains black. What happens instead, is that it gets a fill="none" 
attribute and disappears from view.

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

Google Chrome 19.0.1084.46.

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

2.4, if the URL is right.

Please provide any additional information below.

The default SVG fill style is #000, when not given.

Original issue reported on code.google.com by oyas...@gmail.com on 28 May 2012 at 12:45

GoogleCodeExporter commented 8 years ago
Try with the latest trunk (2.6): 
https://svg-edit.googlecode.com/svn/trunk/editor/svg-editor.html

I have no idea why you tried on 2.4. The current stable is 2.5...

Original comment by asyazwan on 28 May 2012 at 7:24