Version 11 (modified by, 14 years ago) (diff)


MathML Project


There is now basic support for MathML in WebKit. The native render has basic support the follow elements:

  • mrow and mfenced
  • mo with operator stretching
  • mi, mn, and mtext
  • msub, msup, and msubsup
  • mover, munder, and munderover
  • mtable
  • mfrac, mroot and msqrt

There are a number of patches relating to further MathML support that can be viewed via the master bug for MathML. Other bugs can be queried using the "MathML" component in the bug database.


The user agent CSS stylesheet for MathML is configured to rely on the STIX fonts and then fallback to other fonts. It is recommended that you download and install the STIX fonts.


MathML support is turned on at compile time by the ENABLE_MATHML definition. This can be toggled by the "mathml" toggle. By default, MathML is enabled. You do not need to do anything to turn MathML on.

To turn MathML off, use:

   build-webkit --no-mathml