Re: SVG within file with extension .xhtml/.html

Robert Longson <[email protected]> Sat, 6 Nov 2010 00:19:57 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.svg
Organization http://groups.google.com
Message-ID <a5daba3d-ae96-49d1-9832-27e118ba8fe1@e20g2000vbn.googlegroups.com>
On Nov 5, 8:25 pm, Otto Wyss <[email protected]> wrote:
> I've tried to implement an SVG in a web page once as .xhtml once as .html in
> SeaMonkey (2.0.8). See the 2 pages here
>
> http://www.orpatec.ch/osm/editor/editor.xhtmlhttp://www.orpatec.ch/osm/editor/editor.html
>
> Does anybody know why the 2 pages are different? What do I have to change so the
> .html shows the SVG?

SeaMonkey 2.0.8 does not support html5 so you can't embed SVG into
html using markup. Your options are either to use the DOM to add SVG
to an html page or to use the upcoming Firefox 4 with a html5 doctype.
I'm sure there will be a SeaMonkey release with the Gecko 2.0 engine
at some point after Firefox 4 is released and you will be able at that
point to upgrade to a SeaMonkey that will support what you want to do.

Best regards

Robert