W3C home > Mailing lists > Public > www-math@w3.org > August 2006

Re: mathml with netscape 7.1 and Mozilla Firefox

From: <juanrgonzaleza@canonicalscience.com>
Date: Thu, 31 Aug 2006 03:10:20 -0700 (PDT)
Message-ID: <3022.>
To: <www-math@w3.org>

David Carlisle said:
>> About that MathML is only usable in X(HT)ML pages, well, next
>> http://www1.chapman.edu/~jipsen/mathml/asciimath.html
>> is a HTML page with html extension, HTML 4.01 Transitional DOCTYPE
>> declaration is being served as text/html.
> In that case Mozilla is not rendering the html that is being served but
> rather an xhtml+mathml document that is generated via javascript dom
> calls.So again html markup in teh original documet isn't relevant to
> mozilla's rendering behaviour (except in so far as it affects teh way
> teh javascript builds the xhtml document).
> David

1) The html extension continues being the same since JS cannot change that.

2) The original HTML 4 DTD is removed from the tree, but there i no xml PI

3) The final DOM continues being typed as _text/html_

4) There is not namespace declaration in math tags.

Therefore, all i can say is that MathML is being encoded as text/html,
without namespaces and html extension.

I know that Gecko engine display mathml reusing HTML table and CSS layout
engines, and this may be vital for that the trick works, but this is
beyond my knowledge. Maybe some Mozilla developer can asist us.

On any case the page i cited proves that you can display math in html
pages even if is an indirect way and that this apparently works for

Juan R.

Received on Thursday, 31 August 2006 11:11:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:38 UTC