Open GoogleCodeExporter opened 8 years ago
Original comment by bradneub...@gmail.com
on 16 Nov 2010 at 10:09
I've had problems with this also. One workaround is to define your styling in
embedsvg in the style sheet. But this only works if all your SVG content has
the same style.
When inserting the flash object, svg.js copies the class name from the
referenced SVG. That means that you could put the class in the SVG. But that
locks that SVG to that class.
I'm not sure if ignoring the object class in flash mode is by design or an
omission. In native mode, the class remains on the object.
I modified _determineClassName() in svg.js to copy the <object>'s class name as
well as the SVG class (if different). Now the styling is consistent between
native and flash rendering - at least for my use. Attached is a patch.
Original comment by k...@svgmaker.com
on 3 Dec 2010 at 7:07
Attachments:
Original comment by bradneub...@gmail.com
on 4 Dec 2010 at 1:25
Original issue reported on code.google.com by
exadium....@googlemail.com
on 18 Oct 2010 at 4:28Attachments: