Re: mathml with netscape 7.1 and Mozilla Firefox 1.5.0.6

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
declaration.

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
MSIE+MathPLayer.


Juan R.

Center for CANONICAL |SCIENCE)

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