MathML and CSS

Hello,

In MathML 2.4.5 it sais:

"In order to facilitate use with style sheet mechanisms such as [XSLT] and [CSS2] all MathML elements accept class, style, and id attributes in addition to the attributes described specifically for each element"

I'm wondering about MathML and CSS.

Assume the following: I have already made a CSS renderer for generic XML markup..
and am about to create a renderer for MathML.

Exactly what parts of CSS should I use for rendering MathML?

Should I use the CSS box model (this is my main question)? (supporting borders and margins etc. around MathML elements) Does the MathML specification describe any box generation for rendering? (whether it's CSS box model ot not), I haven't found anything..

Is the <mtable> similar enough to HTML <table> and CSS table layout to use the same code? (Mainly asking for Advise here)

thanks,

--
Sigurd Lerstad

Received on Sunday, 25 August 2002 16:33:05 UTC