layout/reftests/mathml/multiscripts-1.html

branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
equal deleted inserted replaced
-1:000000000000 0:f363f624bac2
1 <html><head>
2 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><title>Comparison of script elements</title></head>
3 <body>
4 msubsup:
5 <math>
6 <msubsup style="background: red;">
7 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
8 <mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
9 <mtext style="background-color: rgba(0, 255, 0, 0.4);">ccc</mtext>
10 </msubsup>
11 </math>
12
13 <br><br>
14
15 <!-- Different rules apply to msub, so it won't provide equivalent output -->
16 msubsup:
17 <math>
18 <msubsup style="background: red;">
19 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
20 <mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
21 <mrow></mrow>
22 </msubsup>
23 </math>
24
25 <br><br>
26
27 msup / msubsup:
28 <math>
29 <msup style="background: red;">
30 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
31 <mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
32 </msup>
33 </math>
34
35 <math>
36 <msubsup style="background: red;">
37 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
38 <mrow></mrow>
39 <mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
40 </msubsup>
41 </math>
42
43 <br><br>
44
45 mrow / msub:
46 <math>
47 <mrow style="background: red;">
48 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
49 </mrow>
50 </math>
51
52 <math>
53 <msub style="background: red;">
54 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
55 <mrow></mrow>
56 </msub>
57 </math>
58
59 <br><br>
60
61 msupsub:
62 <math>
63 <msubsup style="background: red;">
64 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
65 <mrow></mrow>
66 <mrow></mrow>
67 </msubsup>
68 </math>
69
70 </body></html>

mercurial