mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-02 19:26:36 +00:00
c390f6479a
Currently the method render always returns a html string that can be a string that represents the correct result or a rendered error message. This change adds a mechanism that allows to fetch the HTML output. In a followup commit the rendering function is changed to return a boolean value rather than the rendering result. This will simplify the error handling and caching. Change-Id: I80760493e391911c41eb69d75a93c6a34db8852e
20 lines
772 B
CSS
20 lines
772 B
CSS
/*
|
|
Document : ext.math
|
|
Created on : 23.09.2013, 13:55:00
|
|
Author : Physikerwelt (Moritz Schubotz)
|
|
Description:
|
|
Shows browser-dependent math output.
|
|
*/
|
|
|
|
.mwe-math-mathml-inline { display: none;}
|
|
.mwe-math-mathml-display { display: none ;}
|
|
.mwe-math-fallback-png-inline { display: inline; vertical-align: middle}
|
|
.mwe-math-fallback-png-display { display: block; margin-left: auto; margin-right: auto;}
|
|
.mwe-math-fallback-source-inline { display: inline; vertical-align: middle}
|
|
.mwe-math-fallback-source-display { display: block; margin-left: auto; margin-right: auto;}
|
|
|
|
|
|
@-moz-document url-prefix() {
|
|
.mwe-math-mathml-inline { display: inline !important; }
|
|
.mwe-math-mathml-display { display: block !important; margin:auto!important;}
|
|
} |