summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/maction-selection.html
blob: ce08748b7569d664f77eb9342edc8f0c9b2e9acc (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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>maction selection</title>
</head>

<body>

<p>Statusline:
<math>
  <maction actiontype="statusline" selection="2">
    <msqrt><mi>x</mi></msqrt>
    <mtext>square root of x</mtext>
  </maction>
</math>
</p>

<p>Tooltip:
<math>
  <maction actiontype="tooltip" selection="2">
    <msqrt><mi>x</mi></msqrt>
    <mtext>square root of x</mtext>
  </maction>
</math>
</p>

<p>Toggle:
<math>
  <maction actiontype="toggle" selection="2">

    <mfrac>
      <mn>3</mn>
      <mn>4</mn>
    </mfrac>

    <mfrac>
      <mn>6</mn>
      <mn>8</mn>
    </mfrac>

  </maction>
</math>
</p>

<p>Toggle 2:
<math>
  <maction actiontype="toggle" selection="2">

    <mfrac>
      <mn>3</mn>
      <mn>4</mn>
    </mfrac>

    <mfrac>
      <mn>6</mn>
      <mn>8</mn>
    </mfrac>

  </maction>
</math>
</p>

</body>
</html>