summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/operators/mo-form-minus-plus.html
blob: eb7dbbce2a17e7f3bd1a785a9b1b236e71072586 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"/>
    <title>form plus/minus</title>
    <link rel="help" href="https://w3c.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
    <meta name="assert" content="Verifies behavior of form of plus/minus etc.">
    <link rel="match" href="mo-form-minus-plus-ref.html">
  </head>
  <body>

    <!-- These operators should have form "prefix" -->

    _<math><merror><mo></mo><mi>x</mi></merror></math>_
    _<math><mo></mo><mi>x</mi></math>_
    _<math><mphantom><mo></mo><mi>x</mi></mphantom></math>_
    _<math><mrow><mo></mo><mi>x</mi></mrow></math>_
    _<math><msqrt><mo></mo><mi>x</mi></msqrt></math>_
    _<math><mstyle><mo></mo><mi>x</mi></mstyle></math>_

    <br/>

    _<math><merror><mo>+</mo><mi>x</mi></merror></math>_
    _<math><mo>+</mo><mi>x</mi></math>_
    _<math><mphantom><mo>+</mo><mi>x</mi></mphantom></math>_
    _<math><mrow><mo>+</mo><mi>x</mi></mrow></math>_
    _<math><msqrt><mo>+</mo><mi>x</mi></msqrt></math>_
    _<math><mstyle><mo>+</mo><mi>x</mi></mstyle></math>_

    <br/>

    _<math><merror><mo>±</mo><mi>x</mi></merror></math>_
    _<math><mo>±</mo><mi>x</mi></math>_
    _<math><mphantom><mo>±</mo><mi>x</mi></mphantom></math>_
    _<math><mrow><mo>±</mo><mi>x</mi></mrow></math>_
    _<math><msqrt><mo>±</mo><mi>x</mi></msqrt></math>_
    _<math><mstyle><mo>±</mo><mi>x</mi></mstyle></math>_

    <br/>

    _<math><merror><mo></mo><mi>x</mi></merror></math>_
    _<math><mo></mo><mi>x</mi></math>_
    _<math><mphantom><mo></mo><mi>x</mi></mphantom></math>_
    _<math><mrow><mo></mo><mi>x</mi></mrow></math>_
    _<math><msqrt><mo></mo><mi>x</mi></msqrt></math>_
    _<math><mstyle><mo></mo><mi>x</mi></mstyle></math>_

    <br/>

    <!-- These operators should have form "infix" -->

    _<math><merror><mi>x</mi><mo></mo><mi>y</mi></merror></math>_
    _<math><mi>x</mi><mo></mo><mi>y</mi></math>_
    _<math><mphantom><mi>x</mi><mo></mo><mi>y</mi></mphantom></math>_
    _<math><mrow><mi>x</mi><mo></mo><mi>y</mi></mrow></math>_
    _<math><msqrt><mi>x</mi><mo></mo><mi>y</mi></msqrt></math>_
    _<math><mstyle><mi>x</mi><mo></mo><mi>y</mi></mstyle></math>_

    <br/>

    _<math><merror><mi>x</mi><mo>+</mo><mi>y</mi></merror></math>_
    _<math><mi>x</mi><mo>+</mo><mi>y</mi></math>_
    _<math><mphantom><mi>x</mi><mo>+</mo><mi>y</mi></mphantom></math>_
    _<math><mrow><mi>x</mi><mo>+</mo><mi>y</mi></mrow></math>_
    _<math><msqrt><mi>x</mi><mo>+</mo><mi>y</mi></msqrt></math>_
    _<math><mstyle><mi>x</mi><mo>+</mo><mi>y</mi></mstyle></math>_

    <br/>

    _<math><merror><mi>x</mi><mo>±</mo><mi>y</mi></merror></math>_
    _<math><mi>x</mi><mo>±</mo><mi>y</mi></math>_
    _<math><mphantom><mi>x</mi><mo>±</mo><mi>y</mi></mphantom></math>_
    _<math><mrow><mi>x</mi><mo>±</mo><mi>y</mi></mrow></math>_
    _<math><msqrt><mi>x</mi><mo>±</mo><mi>y</mi></msqrt></math>_
    _<math><mstyle><mi>x</mi><mo>±</mo><mi>y</mi></mstyle></math>_

    <br/>

    _<math><merror><mi>x</mi><mo></mo><mi>y</mi></merror></math>_
    _<math><mi>x</mi><mo></mo><mi>y</mi></math>_
    _<math><mphantom><mi>x</mi><mo></mo><mi>y</mi></mphantom></math>_
    _<math><mrow><mi>x</mi><mo></mo><mi>y</mi></mrow></math>_
    _<math><msqrt><mi>x</mi><mo></mo><mi>y</mi></msqrt></math>_
    _<math><mstyle><mi>x</mi><mo></mo><mi>y</mi></mstyle></math>_

    <script src="/mathml/support/feature-detection.js"></script>
    <script>MathMLFeatureDetection.ensure_for_match_reftest("has_operator_spacing");</script>
  </body>
</html>