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

[whatwg] MathML in non-XML documents

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 03 Jul 2009 10:38:05 -0700
Message-ID: <4A4E41FD.3020406@mit.edu>
Adam Langley 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?

I believe so, yes.

> (Note, I'm not questioning browser support for the above, which I believe is non-existent).

The above is actually supported in current nightly builds of Firefox if 
you set the "html5.enable" preference to true so that you're using the 
new parser.  I can provide screenshots on request if desired.  ;)

-Boris
Received on Friday, 3 July 2009 10:38:05 UTC

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