GNOME Bugzilla – Bug 738627
Elements are black when styled in a <style> tag
Last modified: 2015-10-15 17:27:23 UTC
Created attachment 288678 [details] This SVG illustrates the problem Elements that are styled using (at least) either element selectors or class selectors in a <style> block, will appear unstyled, i.e. their fill is black. I'll attach an SVG to test with. My environment is Mint 17 x64, and the exact version of librsvg is 2.40.2-1. I'm ultimately trying to use ImageMagick to do the conversion, but since IM delegates to rsvg-convert, this seems the right place to file this bug. The ImageMagick command I used to convert this file, and to reproduce the bug: convert -size 296x69 logo.svg logo.png Or without IM I can use this to reproduce as well: rsvg-convert -w 296 -h 69 logo.svg -o logo.png Also not that the attach SVG will display absolutely fine in every SVG-supporting browser (even IE!), and open just fine in Inkscape.
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 695162 ***