This repository contains polyfills for features from the MathML specification, relying only on MathML Core and other web technologies natively implemented in browsers. See discussion on wiki
The set of polyfills, as referenced by all-polyfills.js can be used as a simple script element in HTML pages, as module for ES6 or as an NPM package. See README in rollup.
- acid-test.html — combined examples at the repository root for many polyfills (button to apply transforms); includes an
mtablesection - bevelled/index.html —
bevelledattribute onmfrac - elem-math/index.html — elementary math (
mstack,mlongdiv, etc.) - href/index.html —
hrefon MathML elements - mathvariant/index.html —
mathvariant→ Unicode math alphanumerics - menclose/index.html —
menclosenotations - mfenced/index.html —
mfenced - mtable/index.html —
mtablepresentation attributes andmlabeledtr - ms/index.html —
msquotes - namedspace/index.html — named MathML spaces
- scriptshift/index.html —
subscriptshift/superscriptshiftonmsub,msup,msubsup - semantics/index.html —
semanticspresentation order - table/index.html —
mtablepresentation attributes inside HTML<table>cells (before / after transform)