W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] MathML in non-XML documents

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 3 Jul 2009 12:19:28 -0500
Message-ID: <dd0fbad0907031019j1616687ah1e225682c221f20a@mail.gmail.com>
On Fri, Jul 3, 2009 at 11:54 AM, Adam Langley<agl at chromium.org> wrote:
> >From my reading of the spec, it appears that MathML embedded in HTML
> documents (not just XHTML) is intended to work?
> (http://www.whatwg.org/specs/web-apps/current-work/#mathml)
>
> I.e. something like the following snippet should render as math?
>
> <body>
> ?<math>
> ? ?<msup>
> ? ? ?<mi>x</mi>
> ? ? ?<mn>2</mn>
> ? ?</msup>
> ?</math>
> </body>
>
> Is my interpretation correct? (Note, I'm not questioning browser
> support for the above, which I believe is non-existent).

Yup, MathML (and SVG, for that matter) are intended to be usable in
HTML documents, not just XHTML.  That's why we have implicit
namespacing and such.

~TJ
Received on Friday, 3 July 2009 10:19:28 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:13 UTC