Re: SVG in HTML

From: Dominic Lachowicz <domlachowicz_at_gmail.com>
Date: Tue Jul 14 2009 - 15:28:44 CEST

That's what Martin's bit of JavaScript is supposed to take care of,
though. IE doesn't have builtin support for MathML either, and folks
were fine with throwing that directly into the HTML. So either we need
to change how we embed both MathML and SVG (maybe using <object>
tags), or we just throw them into the HTML file and let the JavaScript
take care of it.

Also, to change a SVG's width and height, all we should need to do is
to modify the <svg> tag's contents a bit. It has a width and height
attribute. We'll probably want to munge the SVG a bit anyway, in case
it has an <?xml?> header.

On Tue, Jul 14, 2009 at 8:40 AM, J.M. Maurer<uwog@uwog.net> wrote:
> On Tue, 2009-07-14 at 07:41 -0400, Dominic Lachowicz wrote:
>
>> We are directly embedding MathML inside of HTML. Why are we trying to
>> shove SVG into an <object> tag?
>
> Because IE can't display that afaik.
>
>> XHTML supports embedded SVGs just fine.
>
> And we don't just write out XHTML, we also need to support HTMLv4.
>
>  Marc
>
>

-- 
"I like to pay taxes. With them, I buy civilization." --  Oliver Wendell Holmes
Received on Tue Jul 14 15:28:58 2009

This archive was generated by hypermail 2.1.8 : Tue Jul 14 2009 - 15:28:58 CEST