From d8088804503cd5df9ed7f577354f8047cb13e4da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Sun, 24 Apr 2016 18:59:32 +0200 Subject: [PATCH] Remove some obsolete CSS rules that are no longer needed in Firefox ESR 45: - Use the non-math font Cambria first (fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=598900). - Set line-height to normal (fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=1187673). Change-Id: I19836285e08c2996d611a47361bbb5f9e9eb6921 --- modules/ext.math.css | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/ext.math.css b/modules/ext.math.css index 634f4b9..1ac3bdf 100644 --- a/modules/ext.math.css +++ b/modules/ext.math.css @@ -20,12 +20,7 @@ } m|math { /* Try some popular OpenType MATH fonts before the WOFF fallback */ - /* We put Cambria before Cambria Math to workaround a bug on Windows - (see https://bugzilla.mozilla.org/show_bug.cgi?id=598900) */ - font-family: Cambria, Cambria Math, Latin Modern Math, STIX Math, LatinModernMathWOFF, serif; - /* .mw-body-content sets the line-height to 1.6 which is not desired for math. For example */ - /* matrices with brackets are rendered too large. See also https://phabricator.wikimedia.org/T106890 */ - line-height: normal; + font-family: Cambria Math, Latin Modern Math, STIX Math, LatinModernMathWOFF, serif; } /* Default style for the image fallback. */