PF/XTech/HTML5/MathMLinHTML5

From W3C Wiki
< PF‎ | XTech‎ | HTML5

Support for MathML in HTML5

For Reference:

Issues

MathML in the HTML5 Editor's Draft (19 September 2008)

4.8.15 MathML

The math element from the MathML Namespace falls into the embedded content category for the purposes of this specification.

User agents must handle text other than inter-element whitespace found in MathML elements whose content models do not allow raw text by pretending for the purpose of MathML content models, layout, and rendering that that text is actually wrapped in a mtext element in the MathML namespace. (Such text is not, however, conforming.)

User agents must act as if any MathML element whose contents does not match the element's content model was replaced, for the purposes of MathML layout and rendering, by an merror element in the MathML namespace containing some appropriate error message.

To enable authors to use MathML tools that only accept MathML in its XML form, interactive HTML user agents are encouraged to provide a way to export any MathML fragment as a namespace-well-formed XML fragment.

HTML WG Issues & Actions Pertaining to MathML


Proposals