2010/5/18 André Hentschel <n...@dawncrow.de>: > Am 18.05.2010 15:17, schrieb Dan Kegel: >> On Mon, May 17, 2010 at 11:00 PM, Reece Dunn <mscl...@googlemail.com> wrote: >>>> http://kegel.com/wine/yagmarkdata/wine-1.1.44-245.html >>> >>> Can you use something like: >>> >>> <object data="E8400-GT_220-Ubuntu_10.04_LTS-e8400-3dmark06_3DMark_Score.svg" >>> type="image/svg+xml"> >>> <embed src="E8400-GT_220-Ubuntu_10.04_LTS-e8400-3dmark06_3DMark_Score.svg" >>> type="image/svg+xml"> >>> <img src="E8400-GT_220-Ubuntu_10.04_LTS-e8400-3dmark06_3DMark_Score.svg" >>> alt="E8400 GT220 - Ubuntu 10.04 LTS - e8400 - 3dmark06 3DMark Score"> >>> </embed> >>> </object> >>> >>> so that this will work in Firefox >> >> Bleah! That's sooo gross. >> >> I'm tempted to keep using img tags and asking everyone who's affected >> to go vote for >> https://bugzilla.mozilla.org/show_bug.cgi?id=276431 (or whatever the >> bug is for their browser) >> - Dan >> >> > It seems only Chrome understoods svg in img tags.
>From the Firefox bug, Opera also supports svg in img. NOTE: The <embed> is only for backward compatibility, and the embedded <img> tag is for if Opera/Chrome don't understand either. That said: <object data="image.svg" type="image/svg+xml"></object> should work on all platforms that support SVG. - Reece