summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/displaystyle-014-ref.html
blob: 085e2c429da98ab17c821859e52c4ac0492f8cce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html>
  <head>
    <title>displaystyle</title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="/fonts/ahem.css">
    <style>
      math {
          font: 25px Ahem;
      }
    </style>
  </head>
  <body>

    <!-- See https://bugzilla.mozilla.org/show_bug.cgi?id=832800 -->
    <math>
      <mstyle displaystyle="true">
        <mfrac>
          <mrow>
            <mn>X</mn>
            <mo id="mathOperator" mathbackground="red">+</mo>
            <mfrac>
              <mrow><mn>X</mn></mrow>
              <mrow><mn>X</mn></mrow>
            </mfrac>
          </mrow>
          <mrow>
            <mn>X</mn>
          </mrow>
        </mfrac>
      </mstyle>
    </math>

  </body>
</html>