summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/mrow/semantics-004.html
blob: 17f0f1ecd09419d55840424e27f11c35e21ff79b (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
<!DOCTYPE html>
<meta charset="utf-8"/>
<title>&lt;semantics&gt - mozilla bug 512418</title>
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=512418">
<link rel="help" href="https://w3c.github.io/mathml-core/#semantics-and-presentation">
<link rel="match" href="semantics-004-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<meta name="assert" content="The semantics element shouldn't add space around it.">
<style>
  math, p {
      font: 25px Ahem;
  }
</style>
<p>
  XpXpXp<math xmlns="http://www.w3.org/1998/Math/MathML">
    <semantics>
      <mrow>
        <mrow>
          <mo>lcm</mo>
          <mo>(</mo>
          <mn>a</mn>
          <mo>,</mo>
          <mn>b</mn>
          <mo>)</mo>
        </mrow>
        <mo>=</mo>
        <mfrac>
          <mrow>
            <mo>(</mo>
            <mn>a</mn>
            <mo>&#x2062;</mo>
            <mn>b</mn>
            <mo>)</mo>
          </mrow>
          <mrow>
            <mo>gcd</mo>
            <mo>(</mo>
            <mn>a</mn>
            <mo>,</mo>
            <mn>b</mn>
            <mo>)</mo>
          </mrow>
        </mfrac>
      </mrow>
    </semantics>
  </math>XpXpXp
</p>