layout/reftests/mathml/opentype-stretchy.html

branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
equal deleted inserted replaced
-1:000000000000 0:e958497d14db
1 <!doctype html>
2 <html>
3 <head>
4 <title>Open Type MATH - stretchy operator</title>
5 <meta charset="utf-8"/>
6 <style type="text/css">
7 @font-face {
8 font-family: stretchy;
9 src: url(../fonts/math/stretchy.otf);
10 }
11 math {
12 font-family: stretchy;
13 font-size: 10px;
14 }
15 </style>
16 </head>
17 <body>
18
19 <!--
20 hstretchy = [
21 0x219C, # leftwards wave arrow
22 0x219D, # rightwards wave arrow
23 0x219E, # leftwards two headed arrow
24 0x21A0, # rightwards two headed arrow
25 0x21A2 # leftwards arrow with tail
26 ]
27 vstretchy = [
28 0x219F, # upwards two headed arrow
29 0x21A1, # downwards two headed arrow
30 0x21A5, # upwards arrow from bar
31 0x21A7, # downwards arrow from bar
32 0x21A8 # up down arrow with base
33 ]
34
35 hstretchy[0] and vstretchy[0] have all the variants and the components. The others only have one of them.
36 -->
37
38 <p>
39 <math>
40 <mstyle scriptsizemultiplier="1">
41 <mover><mo stretchy="true">&#x219C;</mo><mspace width="1em" height="1px" mathbackground="red"/></mover>
42 <mover><mo stretchy="true">&#x219C;</mo><mspace width="2em" height="1px" mathbackground="red"/></mover>
43 <mover><mo stretchy="true">&#x219C;</mo><mspace width="3em" height="1px" mathbackground="red"/></mover>
44 <mover><mo stretchy="true">&#x219C;</mo><mspace width="15em" height="1px" mathbackground="red"/></mover>
45 </mstyle>
46 </math>
47 </p>
48
49 <p>
50 <math><mrow><mo symmetric="false" stretchy="true" minsize="1em">&#x219F;</mo></mrow></math>
51 <math><mrow><mo symmetric="false" stretchy="true" minsize="2em">&#x219F;</mo></mrow></math>
52 <math><mrow><mo symmetric="false" stretchy="true" minsize="3em">&#x219F;</mo></mrow></math>
53 <math><mrow><mo symmetric="false" stretchy="true" minsize="15em">&#x219F;</mo></mrow></math>
54 </p>
55
56 <!--
57 DisplayOperatorMinHeight = 8em
58 largeop = [0x2A1B, 0x2A1C] # integral with overbar/underbar
59 largeop[0] has variants of size 7, 8, 9em
60 largeop[1] has one variant of size 8em.
61 -->
62 <p>
63 <math displaystyle="true">
64 <mrow><mo>&#x2A1B;</mo></mrow>
65 </math>
66 </p>
67
68 </body>
69 </html>

mercurial