W3C home > Mailing lists > Public > www-math@w3.org > December 2005

Re: MathML JavaScript Question

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 14 Dec 2005 17:00:44 GMT
Message-Id: <200512141700.RAA21397@penguin.nag.co.uk>
To: matt.street@telematica.co.uk
CC: www-math@w3.org


> Thanks for the reply, unfortunately clients default browser is IE!!! 

Actually I meant to say that your code as posted seems to work fine in
IE (+mathplayer) (at least when I tried it earlier today) IE always uses
html when  rendering (even if it's using client side xml tools like
xslt) as it knows nothing about xhtml, so comments about differences
when scripting in xhtml are not relevant in that case (whcih makes
writing script that works on more than one browser "interesting".

Ah If they are using IE without mathplayer (not something I've tried for
a while) then yes I suppose pmathml.xsl would defer to pmathmlcss.xsl
which would try to do some fake mathml-in-css-and-javascript rendering
for the mathml elements that are explict but it wouldn't do teh right
thing at all for the document.write script as the styleshete has to
completely re-write the elements to html divs and spans that are then
css styled, an dthis needs to happen when the page is first parsed,
before any script runs, so the math elements would be inserted too late.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Wednesday, 14 December 2005 17:01:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:58 GMT