commit e2034ede22a2f71c6ad45e1321822dd6c22c2ee7
parent da37b3a1b3b6b126c6f841c1cfac42982805dde3
Author: Frédéric Wang <fwang@igalia.com>
Date: Thu, 16 Oct 2025 10:45:42 +0000
Bug 1994654 - Remove mathml.unknown_mrow.enabled preference. r=emilio,layout-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D268832
Diffstat:
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp
@@ -4606,9 +4606,6 @@ nsCSSFrameConstructor::FindMathMLData(const Element& aElement,
std::size(sMathMLData))) {
return data;
}
- if (!StaticPrefs::mathml_unknown_mrow_enabled()) {
- return nullptr;
- }
// Unknown MathML elements render as an mrow, see:
// https://w3c.github.io/mathml-core/#ref-for-dfn-unknown-mathml-element-2
static constexpr FrameConstructionData sMrowData =
diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml
@@ -11092,12 +11092,6 @@
value: @IS_EARLY_BETA_OR_EARLIER@
mirror: always
-# Whether to render all unknown mathml elements as <mrow>
-- name: mathml.unknown_mrow.enabled
- type: bool
- value: true
- mirror: always
-
# Whether to enable character and glyph level mirroring for operators when
# the writing mode is right to left.
- name: mathml.rtl_operator_mirroring.enabled