forked from davidcarlisle/html5mathml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest1.html
executable file
·116 lines (102 loc) · 2.18 KB
/
test1.html
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!doctype html>
<html>
<head>
<title>test 1</title>
<script src="html5mathml.js"></script>
<!--
<script src="iemathml.js"></script>
<script src="webkitmathml.js"></script>
<script src="operamathml.js"></script>
<script src="firefox3mathml.js"></script>
-->
</head>
<body>
<div>
<p>declared empty elements (none, mprescripts, mspace)</p>
<math>
<mfrac>
<msup>
<mn>1</mn>
<mn>2</mn>
</msup>
<msqrt><mi>a</mi></msqrt>
</mfrac>
<mo>+</mo>
<mi mathvariant="bold">b</mi>
<mo>+</mo>
<mmultiscripts>
<mi>A</mi>
<none/>
<mi>i</mi>
<mprescripts/>
<none/>
<mi>k</mi>
</mmultiscripts>
<mspace width="4em"/>
<mmultiscripts>
<mi>X</mi>
<none/>
<mi>ii</mi>
<mprescripts/>
<none/>
<mi>kk</mi>
<mi>ll</mi>
<none/>
</mmultiscripts>
<mspace width="2em"/>
<mi>B</mi>
</math>
<p>empty table cells (<mtd/>)</p>
<math >
<mtable>
<mtr>
<mtd/>
<mtd/>
<mtd><mtext>a</mtext></mtd>
<mtd><mtext>b</mtext></mtd>
<mtd><mtext>c</mtext></mtd>
<mtd id="www"/>
</mtr>
<mtr>
<mtd><mtext>x</mtext></mtd>
<mtd rowspan="3"><mo minsize="5">(</mo></mtd>
<mtd><mn>1</mn></mtd><mtd><mn>2</mn></mtd><mtd><mn>3</mn></mtd>
<mtd rowspan="3"><mo>)</mo></mtd>
</mtr>
<mtr>
<mtd><mtext>y</mtext></mtd>
<mtd></mtd><mtd><mn>22</mn></mtd><mtd><mn>33</mn></mtd>
</mtr>
<mtr>
<mtd><mtext>z</mtext></mtd>
<mtd></mtd><mtd></mtd><mtd><mn>333</mn></mtd>
</mtr>
</mtable>
</math>
<p>B.H.'s bin pow test</p>
<math display="block" mode="display">
<msup>
<mfenced open="(" close =")" separators=""><mi>x</mi><mo>+</mo><mi>y</mi></mfenced>
<mn>2</mn>
</msup>
</math>
<p>Other stuff</p>
<math display="block">
<munderover>
<mo>∫</mo>
<mn>0</mn>
<mo stretchy="true">∞</mo>
</munderover>
<msqrt>
<mfenced open="{" close="]">
<mtable>
<mtr><mtd><mn>1</mn></mtd><mtd><mn>2</mn></mtd><mtd><mn>3</mn></mtd></mtr>
<mtr><mtd><mo>→</mo></mtd><mtd><mo>↖</mo></mtd><mtd><mo>↓</mo></mtd></mtr>
<mtr><mtd><mi>α</mi></mtd><mtd><mi>β</mi></mtd><mtd><mi>γ</mi></mtd></mtd></mtr>
</mtable>
</mfenced>
</msqrt>
</math>
</div>
</body>
</html>