Summary:
Up until now, Firefox used
an internal language, x-math,
to select from a list of mathematical fonts to render MathML <math>
tags. CSS has added a
new math
generic font family, which allows authors to style content with
a mathematical font and serves a similar purpose. Additionally,
the MathML Core spec says
that math
should be the default font family for <math>
tags in the user agent stylesheet. Replacing x-math
with font-family: math
brings Firefox closer to the spec.
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1788937.
Specification: https://www.w3.org/TR/css-fonts-4/#math-def, https://w3c.github.io/mathml-core/#the-top-level-math-element.
Standards Body: W3C.
Platform coverage: All platforms.
Preference:
mathml.font_family_math.enabled.
Link to standards-positions discussion: https://github.com/mozilla/standards-positions/issues/564.
Other browsers:
web-platform-tests:
math: