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

Re: The interpretation of script

From: Robin Berjon <robin@berjon.com>
Date: Thu, 20 Jan 2011 08:56:20 +0100
Cc: public-html-xml@w3.org
Message-Id: <E52121EA-37FC-4926-8F7E-61582858C284@berjon.com>
To: David Carlisle <davidc@nag.co.uk>
On Jan 19, 2011, at 21:08 , David Carlisle wrote:
> 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.

Ouch, that's bad. Can't someone scare up a MathElement specification? It seems that it could prove useful, wouldn't take more than an afternoon to write, and would be straightforward to implement. Is there any reason not to do this?

-- 
Robin Berjon - http://berjon.com/
Received on Thursday, 20 January 2011 07:56:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 January 2011 07:56:52 GMT