diff --git a/layout/mathml/content/src/mathml.css b/layout/mathml/content/src/mathml.css index 09a417cdb0ac..46f1907067f3 100644 --- a/layout/mathml/content/src/mathml.css +++ b/layout/mathml/content/src/mathml.css @@ -473,11 +473,9 @@ semantics > :not(:first-child) { display: none; } -/** - * Temporary, until we make mtable no longer use display: table - */ +/**********************************************************************/ +/* This is used when wrapping non-MathML inline elements inside math. */ *|*::-moz-mathml-anonymous-block { - display: block !important; + display: inline-block !important; position: static !important; } -