MathML:Cleanup

From MozillaWiki
Revision as of 21:54, 24 March 2010 by Fred.wang (talk | contribs) (Created page with '== gfx glue layer removal == See {{bug|430829}}, Gfx_glue_layer_removal and [http://groups.google.com/group/mozilla.dev.tech.gfx/browse_thread/thread/90d41db79b03f2fb/8921df…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

gfx glue layer removal

See bug 430829, Gfx_glue_layer_removal and the thread on mozilla.dev.tech.gfx.

We should rewrite the MathML layout engine to remove nsIRenderingContext, use gfxFont::Metrics instead of nsBoundingMetrics etc

Attribute mapping into style

We are using private attributes and pre-defined rules in mathml.css to map some MathML attributes into CSS. This approach shows its limits for length attributes bug 330964 and exposes unwanted attributes to the DOM bug 527201. We should rewrite this in a cleaner way bug 69409.

Width computation

Our layout engine still has some problems with width computation bug 459363, bug 415413. Find a better algorithm?

Box model for MathML

The <math/> element is implemented as an inline-box, but this gives an incorrect height computation bug 219873. We should also allow linebreaking inside <mrow/>'s, as specified by the rules of MathML 3 bug 508120.