zhiqinghuang / oryx-editor

Automatically exported from code.google.com/p/oryx-editor
Other
0 stars 0 forks source link

SVGs for edges using style="marker-start:url(#StartMarker)" are rendered without Marker inside the editor #365

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an SVG for an edge and attach a start marker, e.g., an arrow, using
style="marker-start:url(#StartMarker)"
2. Add the SVG to a stencilset
3. Create a new model using that stencilset and drag the shape to the canvas

What is the expected output?
The edge should be rendered completely.

What do you see instead?
The start marker is not rendered at all.

This will happen to all edges created by Inkscape.
A workaround is to use the SVG attribute marker-start="url(#StartMarker)"
instead of CSS.

The issue has been reproduced using Firefox 3.0 under Linux.

Original issue reported on code.google.com by falko.me...@gmail.com on 6 Mar 2009 at 9:04