I realize that this thread has gone off in other direction but I have a question -
Given that SVG is support universally except for very ancient UAs (IE8 is south of 5% now) why bother with a fallback image? Why not just give them a background-color? Seems like a whole lot of wasted work for a drop int he bucket of users. Eric > On August 5, 2014 at 9:00 AM Tom Livingston <tom...@gmail.com> wrote: > > > List, > > I was having a discussion in the comments of an article about using > svg as a background-image in CSS, and using a png as fallback. I was > writing it like this: > > background-image: image.png; > background-image: image.svg; > > But this fails in IE8 (and presumably in other non-svg-supporting browsers). > > My thought was that it would work like background-color does. > > Sample page: > http://tomliv.com/nick-test/ > > Just trying to learn here. Why does the cascade not work in both cases? > > -- > > Tom Livingston | Senior Front-End Developer | Media Logic | > ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com > ______________________________________________________________________ > css-discuss [css-d@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/