SVG icon not responding to CSS fill

Bug #1419932 reported by cortocopy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

I've saved an icon in svg format for a webpage. However, when trying to change the color using "fill" in my CSS, the icon just stays the same.

The icon is being called with a <svg> tag and <use xlink> method so, unlike background SVG, color should respond to "fill"

I've tried producing the same icon with Illustrator and icon responds to "fill"

Things I've tried and didn't work:

-Saving using the normal "Save" options
-Saving as "simplified SVG"
-Saving as "Optimized SVG" (I've tried various ticking/unticking options but none changed the result)

I'm aware of problems with CSS as explained in http://wiki.inkscape.org/wiki/index.php/CSS_Support

However, I'm using the svg XML method and I'm not sure if my icon is affected by Inkscape problems with CSS.

Another possibility I'm not sure about is that the icon came initially from an .eps file. So I'm not sure if problem lies with Inkscape importing options

Tags: css svg
cortocopy (cortocopy)
description: updated
Revision history for this message
su_v (suv-lp) wrote :

Please add information about OS/platform and Inkscape version (see Inkscape menu 'Help > About Inkscape' to the bug description, and attach a test case (SVG file, HTML page which includes the SVG file) to allow further investigation of the reported issue.

Changed in inkscape:
status: New → Incomplete
Revision history for this message
cortocopy (cortocopy) wrote :

I don't know what I did but one of the icons seems to be working now. The other is still being stubborn and doesn't respond to CSS fill.

I've attached the icon as I saved it on Inkscape 0.48 using Ubuntu

Changed in inkscape:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.