ca60980e5fd57aeefae94059375f727ea6d29887
[WebKit-https.git] / LayoutTests / mathml / presentation / mo-stretch.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4     <!-- This shows the unstretched operators. -->
5     <math>
6         <mrow>
7             <mo>(</mo> <mo>)</mo>
8             <mo>{</mo> <mo>}</mo>
9             <mo>[</mo> <mo>]</mo>
10             <mo>&LeftCeiling;</mo> <mo>&RightCeiling;</mo>
11             <mo>&LeftFloor;</mo> <mo>&RightFloor;</mo>
12             <mo stretchy="true">&Integral;</mo>
13             <mo>|</mo> <mo>&Verbar;</mo>
14         </mrow>
15     </math>
16
17     <br/>
18
19     <!-- Stretch the operators to different heights. -->
20     <math>
21         <mrow>
22             <mo>(</mo> <mo>)</mo>
23             <mo>{</mo> <mo>}</mo>
24             <mo>[</mo> <mo>]</mo>
25             <mo>&LeftCeiling;</mo> <mo>&RightCeiling;</mo>
26             <mo>&LeftFloor;</mo> <mo>&RightFloor;</mo>
27             <mo stretchy="true">&Integral;</mo>
28             <mo>|</mo> <mo>&Verbar;</mo>
29             <mspace height="75px" depth="1px"/>
30         </mrow>
31     </math>
32
33     <math>
34         <mrow>
35             <mo>(</mo> <mo>)</mo>
36             <mo>{</mo> <mo>}</mo>
37             <mo>[</mo> <mo>]</mo>
38             <mo>&LeftCeiling;</mo> <mo>&RightCeiling;</mo>
39             <mo>&LeftFloor;</mo> <mo>&RightFloor;</mo>
40             <mo stretchy="true">&Integral;</mo>
41             <mo>|</mo> <mo>&Verbar;</mo>
42             <mspace height="50px" depth="1px"/>
43         </mrow>
44     </math>
45
46     <math>
47         <mrow>
48             <mo>(</mo> <mo>)</mo>
49             <mo>{</mo> <mo>}</mo>
50             <mo>[</mo> <mo>]</mo>
51             <mo>&LeftCeiling;</mo> <mo>&RightCeiling;</mo>
52             <mo>&LeftFloor;</mo> <mo>&RightFloor;</mo>
53             <mo stretchy="true">&Integral;</mo>
54             <mo>|</mo> <mo>&Verbar;</mo>
55             <mspace height="20px" depth="1px"/>
56         </mrow>
57     </math>
58
59     <br/>
60
61     <!-- Show that stretching also works in msqrt as well as mrow. -->
62     <math>
63         <msqrt>
64             <mo>(</mo> <mo>)</mo>
65             <mo>{</mo> <mo>}</mo>
66             <mo>[</mo> <mo>]</mo>
67             <mo>&LeftCeiling;</mo> <mo>&RightCeiling;</mo>
68             <mo>&LeftFloor;</mo> <mo>&RightFloor;</mo>
69             <mo stretchy="true">&Integral;</mo>
70             <mo>|</mo> <mo>&Verbar;</mo>
71             <mspace height="40px" depth="1px"/>
72       </msqrt>
73     </math>
74
75 </body>
76 </html>