Attachment #8362155: Change the default fonts on the <math> for bug #947654

View | Details | Raw Unified | Return to bug 947654
Collapse All | Expand All

(-)a/layout/mathml/mathml.css (-1 / +2 lines)
Line     Link Here 
 Lines 16-32    Link Here 
16
/**************************************************************************/
16
/**************************************************************************/
17
17
18
math {
18
math {
19
  direction: ltr;
19
  direction: ltr;
20
  unicode-bidi: embed;
20
  unicode-bidi: embed;
21
  display: inline;
21
  display: inline;
22
  font-size: inherit;
22
  font-size: inherit;
23
  font-style: normal;
23
  font-style: normal;
24
  font-family: MathJax_Main, STIXGeneral, DejaVu Serif, DejaVu Sans, Cambria, Cambria Math, Times, Lucida Sans Unicode, OpenSymbol, Standard Symbols L, serif;
24
  /* FIXME: move this to a preference */
25
  font-family: Latin Modern Math, XITS Math, STIX Math, Cambria Math, Asana Math, Neo Euler, MathJax_Main, STIXGeneral, DejaVu Serif, DejaVu Sans, Cambria, Times, Lucida Sans Unicode, OpenSymbol, Standard Symbols L, serif;
25
  text-rendering: optimizeLegibility;
26
  text-rendering: optimizeLegibility;
26
  -moz-float-edge: margin-box;
27
  -moz-float-edge: margin-box;
27
  -moz-math-display: inline;
28
  -moz-math-display: inline;
28
}
29
}
29
math[mode="display"], math[display="block"] {
30
math[mode="display"], math[display="block"] {
30
  display: block;
31
  display: block;
31
  text-align: -moz-center;
32
  text-align: -moz-center;
32
  -moz-math-display: block;
33
  -moz-math-display: block;

Return to bug 947654