Re: Documentation and MathML in Firebug

Frédéric Wang <[email protected]> Fri, 06 Nov 2009 23:46:33 +0100
Newsgroups gmane.comp.mozilla.devel.mathml
Message-ID <[email protected]>
Apparently, the MathML layout engine uses the following "private" 
attributes in order to apply specific CSS style to MathML elements.

-moz-math-columnalign, -moz-math-columnline, -moz-math-font-size, 
-moz-math-font-style, -moz-math-rowalign, -moz-math-rowline

However, they are treated as any other attribute so in particular are 
exposed to the DOM. I can't see an easy way to fix this but it would 
probably require modifying the code of Gecko...

> Thanks for the info.
> 
> The thing I'm stuck on at the moment, using this doc as reference:
> 
> http://math.chapman.edu/~jipsen/mathml/asciimathandmathmlsvg.xhtml
> 
> There is a node that Firebug renders like this:
> 
> <mi -moz-math-font-style="italic">b</mi>
> 
> Which is causing me some headache... unfortunately, that part is
> generated dynamically, so I don't know why it is working out that
> way...
>