[whatwg] How to use SVG in HTML5?
David Gerard
dgerard at gmail.com
Wed Jan 23 08:09:10 PST 2008
On 23/01/2008, Anne van Kesteren <annevk at opera.com> wrote:
> On Wed, 23 Jan 2008 15:55:27 +0100, David Gerard <dgerard at gmail.com> wrote:
> > <img src=foo.svg> is just what I was hoping for, thank you :-) Doesn't
> > yet seem to work in Safari 3.0.4, SeaMonkey 1.1.7 or Minefield
> > (Firefox 3 nightly) 2008012304 on Windows, though. Are there browsers
> > it currently does work in?
> Should work in Opera 9.5 (beta though). If you use <object
> data=foo.svg></object> it probably works in more browsers.
Works somewhat in SeaMonkey (gives default specified rendering size of
image in a small object box with scroll bars) and Safari (gives
default size in small box with no scroll bars, i.e. top left corner
only) and best in Minefield (scales image to size of object box,
scales properly with WIDTH= or HEIGHT=).
(Minefield uses 100% CPU just displaying my test image, but also
renders the SVG most accurately of any of them - this image was drawn
in Omnigraffle but is known to misrender in Firefox, SeaMonkey,
Safari, ImageMagick, Inkscape and rsvg - proprietary, or I'd link a
copy. I expect I should create a test case and file a lot of bugs ...)
Thank you all!
- d.
More information about the whatwg
mailing list