|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
3 <head> |
|
4 <meta http-equiv="content-type" |
|
5 content="application/xhtml+xml; charset=utf-8" /> |
|
6 <title>Various tests for semantics</title> |
|
7 </head> |
|
8 |
|
9 <body> |
|
10 <!-- displaystyle (bug 468059) --> |
|
11 <p><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> |
|
12 <semantics> |
|
13 <mstyle displaystyle="true"> |
|
14 <munderover> |
|
15 <mo movablelimits="true">□■□</mo> |
|
16 <mtext>■□■□■□</mtext> |
|
17 <mtext>■□■□■□</mtext> |
|
18 </munderover> |
|
19 </mstyle> |
|
20 </semantics> |
|
21 </math></p> |
|
22 |
|
23 <!-- embellished operator (bug 21479) --> |
|
24 <p><math xmlns="http://www.w3.org/1998/Math/MathML"> |
|
25 <mover> |
|
26 <mspace width="300px" height="10px" mathbackground="black"></mspace> |
|
27 <mo>¯</mo> |
|
28 </mover> |
|
29 </math></p> |
|
30 |
|
31 <!-- unwanted whitespace (bug 512418) --> |
|
32 <p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML"> |
|
33 <mrow> |
|
34 <mrow> |
|
35 <mo>lcm</mo> |
|
36 <mo>(</mo> |
|
37 <mi>a</mi> |
|
38 <mo>,</mo> |
|
39 <mi>b</mi> |
|
40 <mo>)</mo> |
|
41 </mrow> |
|
42 <mo>=</mo> |
|
43 <mfrac> |
|
44 <mrow> |
|
45 <mo>(</mo> |
|
46 <mi>a</mi> |
|
47 <mo>⁢</mo> |
|
48 <mi>b</mi> |
|
49 <mo>)</mo> |
|
50 </mrow> |
|
51 <mrow> |
|
52 <mo>gcd</mo> |
|
53 <mo>(</mo> |
|
54 <mi>a</mi> |
|
55 <mo>,</mo> |
|
56 <mi>b</mi> |
|
57 <mo>)</mo> |
|
58 </mrow> |
|
59 </mfrac> |
|
60 </mrow> |
|
61 </math>■□■□■□</p> |
|
62 |
|
63 <!-- maction and semantics (bug 523037) --> |
|
64 <p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML"> |
|
65 <maction actiontype="toggle" selection="3"> |
|
66 <mn>1</mn> |
|
67 <mn>2</mn> |
|
68 <mn>3</mn> |
|
69 <mn>4</mn> |
|
70 <mn>5</mn> |
|
71 </maction> |
|
72 </math>■□■□■□</p> |
|
73 |
|
74 <!-- maction and semantics (bug 523045) --> |
|
75 <p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML"> |
|
76 <maction actiontype="toggle" selection="4"> |
|
77 <mn>1</mn> |
|
78 <mn>2</mn> |
|
79 <mn>3</mn> |
|
80 <mn>4</mn> |
|
81 <mn>5</mn> |
|
82 </maction> |
|
83 </math>■□■□■□</p> |
|
84 </body> |
|
85 </html> |