[Webkit-unassigned] [Bug 5971] svg content doesn't work in <image> <img> or <feImage> tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 18 16:55:22 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=5971





------- Comment #23 from eric at webkit.org  2008-03-18 16:55 PDT -------
(In reply to comment #22)
> Is it turned on again? This document
> http://docs.info.apple.com/article.html?artnum=307467 advertises tah SVG works
> now for img elements and also as CSS images (background-image?) but my quick
> test fails on this subject:
> 
> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cp%20style%3D%22background-image%3A%20url(http%3A%2F%2Ffiles.myopera.com%2Fdstorey%2Fexperiments%2Fimages%2Froundedcorners.svg)%3B%22%3Etest%3C%2Fp%3E%0A%3Cp%3E%20%3Cimg%20src%3D%22http%3A%2F%2Ffiles.myopera.com%2Fdstorey%2Fexperiments%2Fimages%2Froundedcorners.svg%22%3E%3C%2Fp%3E
> 

Yes SVG images work as backgrounds, but *only* when they have an explicit width
and height set on the <svg> element.

http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cp%20style%3D%22background-image%3A%20url(http%3A%2F%2Fcroczilla.com%2Fsvg%2Fsamples%2Fchem1%2Fchem1.svg)%3B%22%3Etest%3C%2Fp%3E%0A%3Cp%3E%20%3Cimg%20width%3D%22100px%22%20height%3D%22100px%22%20src%3D%22http%3A%2F%2Fcroczilla.com%2Fsvg%2Fsamples%2Fchem1%2Fchem1.svg%22%3E%3C%2Fp%3E

works.  Note, that you're also hitting:
http://bugs.webkit.org/show_bug.cgi?id=17552


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list