summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/displaystyle-013-ref.html
blob: 9a580350de93632e50334c02f51141afad33f682 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!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>

    <!-- Test dynamic change of displaystyle -->
    <math id="m1" displaystyle="true">
      <munder><mo>O</mo><mo>O</mo></munder>
      <mfrac><mn>1</mn><mn>2</mn></mfrac>
    </math>
    <math>
      <mstyle id="m2" displaystyle="true">
        <munder><mo>O</mo><mo>O</mo></munder>
        <mfrac><mn>1</mn><mn>2</mn></mfrac>
      </mstyle>
    </math>
    <math>
      <mtable id="m3" displaystyle="true">
        <mtr>
          <mtd>
            <munder><mo>O</mo><mo>O</mo></munder>
            <mfrac><mn>1</mn><mn>2</mn></mfrac>
          </mtd>
        </mtr>
      </mtable>
    </math>
    <math id="m4" displaystyle="false">
      <msub><mo>O</mo><mo>O</mo></msub>
      <mfrac><mn>1</mn><mn>2</mn></mfrac>
    </math>
    <math>
      <mstyle id="m5" displaystyle="false">
        <msub><mo>O</mo><mo>O</mo></msub>
        <mfrac><mn>1</mn><mn>2</mn></mfrac>
      </mstyle>
    </math>
    <math>
      <mtable id="m6" displaystyle="false">
        <mtr>
          <mtd>
            <msub><mo>O</mo><mo>O</mo></msub>
            <mfrac><mn>1</mn><mn>2</mn></mfrac>
          </mtd>
        </mtr>
      </mtable>
    </math>

  </body>
</html>