Re: Problem embedding SVG graphic on web page
Addanc <[email protected]> Tue, 01 Dec 2009 09:59:48 +0000
| Newsgroups | gmane.comp.mozilla.devel.svg |
|---|---|
| Organization | albasani.net |
| Message-ID | <[email protected]> |
On 30/11/09 18:31, codedread wrote: > On Nov 30, 12:16 pm, Boris Zbarsky <[email protected]> wrote: >> On 11/30/09 12:23 PM, Addanc wrote: >> >>> Cheers Jeff, the object mark-up work around does the job; although it >>> does break Safari and Chrome >> >> Uh... it does? <object> should work fine in those. Testcase? >> >> -Boris > > Yes, I would agree with Boris - the <object> tag works fine for me on > my web pages in all browsers that support SVG: http://blog.codedread.com/ > > I'd like to see a test case. > >> Does anybody no the schedule for implementing the <img> embedding >> capability. > > You probably want to follow these bugs: > > https://bugzilla.mozilla.org/show_bug.cgi?id=276431 > https://bugzilla.mozilla.org/show_bug.cgi?id=231179 > > I believe this functionality was intended for Mozilla 1.9.1 and 1.9.2, > but it keeps slipping. > > Jeff The <object> mark-up works perfectly with Firefox and Opera; with Safari and Chrome the SVG is rendered perfectly but the SVG boxes appear incapable of inheriting the background colour/image from the parent box. I am not a web developer, so I probably need to have a bit more of a play with the CSS to fix this; it already been a pain in the ass getting IE6, IE7 and IE8 to do something sensible.