jenkins-bot has submitted this change and it was merged. Change subject: Remove Firefox specific CSS styles ......................................................................
Remove Firefox specific CSS styles The Firefox specific CSS changes require a special setup of math fonts on the system. To avoid problems OS dependent behavior, this browser specific modifications are removed from the ext.math.css file. There are a couple of places, where people can overwrite their CSS rules individually. For example from version 1.8 the plugin cf. https://github.com/fred-wang/Mathzilla/commit/de1eec2f0d8c1004e5613fe3bd90fcb0f4fdcd90 Note that this change will make things worse for users that chose the MathML rendering option and managed to configure their font setup right. Change-Id: I5a376904a01a46634eea2160e02736df74cd0b5f --- M modules/ext.math.css 1 file changed, 0 insertions(+), 20 deletions(-) Approvals: Mobrovac: Looks good to me, approved Frédéric Wang: Looks good to me, but someone else must approve jenkins-bot: Verified diff --git a/modules/ext.math.css b/modules/ext.math.css index 36e3452..634f4b9 100644 --- a/modules/ext.math.css +++ b/modules/ext.math.css @@ -38,26 +38,6 @@ .mwe-math-fallback-source-inline { display: inline; vertical-align: middle; } .mwe-math-fallback-source-display { display: block; margin-left: auto; margin-right: auto; } -/** - * Browser-specific hacks are bad but let's use that for now... - * See http://browserhacks.com/ - */ -@-moz-document url-prefix() { - /* For Gecko browsers, hide the SVG fallback and show the MathML instead. - * We override the style for SVG and MathML above - */ - .mwe-math-mathml-a11y { - clip: auto; - overflow: visible; - position: static; - width: auto; - height: auto; - opacity: 1; - } - .mwe-math-mathml-inline + .mwe-math-fallback-image-inline, - .mwe-math-mathml-display + .mwe-math-fallback-image-display { display: none !important; } -} - /* PNG related styles from core */ img.tex { vertical-align: middle; -- To view, visit https://gerrit.wikimedia.org/r/285079 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5a376904a01a46634eea2160e02736df74cd0b5f Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/Math Gerrit-Branch: master Gerrit-Owner: Physikerwelt <[email protected]> Gerrit-Reviewer: Edokter <[email protected]> Gerrit-Reviewer: Frédéric Wang <[email protected]> Gerrit-Reviewer: GWicke <[email protected]> Gerrit-Reviewer: Mobrovac <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
