summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/operators/mo-form-dynamic-002-ref.html
blob: be7f5aa173d233fb5a2477586c78df1f0e027c54 (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
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>&lt;mo&gt; dynamic form</title>
    <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
    <style>
      math, math * {
          font: 60px/1 Ahem;
      }
      mo {
          color: blue;
      }
    </style>
  </head>
  <body>
    <p>
      <math>
        <mn>1</mn><mo id="infix_attach_prefix" form="prefix">+</mo><mn>2</mn>
      </math>
    </p>
    <p>
      <math>
        <mo id="prefix_attach_infix" form="infix">+</mo><mn>3</mn>
      </math>
    </p>
    <p>
      <math>
        <mn>1</mn><mo id="infix_remove">+</mo><mn>2</mn>
      </math>
    </p>
    <p>
      <math>
        <mo id="prefix_remove">+</mo><mn>3</mn>
      </math>
    </p>
    <p>
      <math>
        <mn>1</mn><mo id="infix_set_to_prefix" form="prefix">+</mo><mn>2</mn>
      </math>
    </p>
    <p>
      <math>
        <mo id="prefix_set_to_infix" form="infix">+</mo><mn>3</mn>
      </math>
    </p>
  </body>
</html>