W3C home > Mailing lists > Public > public-html-xml@w3.org > January 2011

Re: The interpretation of script

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 19 Jan 2011 20:08:30 +0000
Message-ID: <4D3744BE.1030603@nag.co.uk>
To: Robin Berjon <robin@berjon.com>
CC: public-html-xml@w3.org
On 19/01/2011 18:14, Robin Berjon wrote:
> What happens when MathML is included in HTML?

the html5 parser specifies that you get a mathmlelement, but doesn't 
specify that that renders as maths, so it may just be treated pretty 
much as an unknown element, as happens in Chrome for example.

To test if mathml is "really" supported you need to do something like 
render an mfrac in a hidden div and use a javascript api to access the 
rendered height and see if it is as expected.

David
Received on Wednesday, 19 January 2011 20:08:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 19 January 2011 20:09:01 GMT