Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <!doctype html>
2 <html>
3 <head>
4 <title>displaystyle</title>
5 <meta charset="utf-8"/>
6 </head>
7 <body>
9 <!-- Test displaystyle on mstyle -->
10 <math>
11 <mstyle displaystyle="true">
12 <munder><mo>O</mo><mo>O</mo></munder>
13 </mstyle>
14 <mstyle displaystyle="false">
15 <msub><mo>O</mo><mo>O</mo></munder>
16 </mstyle>
17 </math>
19 <!-- The mfrac element sets displaystyle to "false", or if it was already
20 false increments scriptlevel by 1, within numerator and denominator.
21 -->
22 <math>
23 <mstyle displaystyle="true">
24 <mfrac>
25 <msub><mo>O</mo><mo>O</mo></msub>
26 <msub><mo>O</mo><mo>O</mo></msub>
27 </mfrac>
28 </mstyle>
29 </math>
31 <!-- The mroot element increments scriptlevel by 2, and sets
32 displaystyle to "false", within index, but leaves both attributes
33 unchanged within base.
34 The msqrt element leaves both attributes unchanged within its
35 argument. -->
36 <math>
37 <mstyle displaystyle="true">
38 <mroot>
39 <munder><mo>O</mo><mo>O</mo></munder>
40 <msub><mo>O</mo><mo>O</mo></msub>
41 </mroot>
42 <msqrt>
43 <munder><mo>O</mo><mo>O</mo></munder>
44 </msqrt>
45 </mstyle>
46 </math>
48 <!--
49 The msub element [...] increments scriptlevel by 1, and sets displaystyle to
50 "false", within subscript, but leaves both attributes unchanged within base.
52 The msup element [...] increments scriptlevel by 1, and sets displaystyle to
53 "false", within superscript, but leaves both attributes unchanged within
54 base.
56 The msubsup element [...] increments scriptlevel by 1, and sets displaystyle
57 to "false", within subscript and superscript, but leaves both attributes
58 unchanged within base.
60 The mmultiscripts element increments scriptlevel by 1, and sets displaystyle
61 to "false", within each of its arguments except base, but leaves both
62 attributes unchanged within base.
63 -->
64 <math>
65 <mstyle displaystyle="true">
66 <msub>
67 <munder><mo>O</mo><mo>O</mo></munder>
68 <msub><mo>O</mo><mo>O</mo></msub>
69 </msub>
70 <msup>
71 <munder><mo>O</mo><mo>O</mo></munder>
72 <msub><mo>O</mo><mo>O</mo></msub>
73 </msup>
74 <msubsup>
75 <munder><mo>O</mo><mo>O</mo></munder>
76 <msub><mo>O</mo><mo>O</mo></msub>
77 <msub><mo>O</mo><mo>O</mo></msub>
78 </msubsup>
79 <mmultiscripts>
80 <munder><mo>O</mo><mo>O</mo></munder>
81 <msub><mo>O</mo><mo>O</mo></msub>
82 <msub><mo>O</mo><mo>O</mo></msub>
83 <mprescripts/>
84 <msub><mo>O</mo><mo>O</mo></msub>
85 <msub><mo>O</mo><mo>O</mo></msub>
86 </mmultiscripts>
87 </mstyle>
88 </math>
90 <!--
91 The munder element [...] always sets displaystyle to "false" within the
92 underscript, but increments scriptlevel by 1 only when accentunder is
93 "false". Within base, it always leaves both attributes unchanged.
95 The mover element [...] always sets displaystyle to "false" within
96 overscript, but increments scriptlevel by 1 only when accent is "false".
97 Within base, it always leaves both attributes unchanged.
99 The munderover [..] always sets displaystyle to "false" within underscript
100 and overscript, but increments scriptlevel by 1 only when accentunder or
101 accent, respectively, are "false". Within base, it always leaves both
102 attributes unchanged.
103 -->
104 <math>
105 <mstyle displaystyle="true">
106 <munder>
107 <munder><mo>O</mo><mo>O</mo></munder>
108 <msub><mo>O</mo><mo>O</mo></msub>
109 </munder>
110 <mover>
111 <munder><mo>O</mo><mo>O</mo></munder>
112 <msub><mo>O</mo><mo>O</mo></msub>
113 </mover>
114 <munderover>
115 <munder><mo>O</mo><mo>O</mo></munder>
116 <msub><mo>O</mo><mo>O</mo></msub>
117 <msub><mo>O</mo><mo>O</mo></msub>
118 </munderover>
119 </mstyle>
120 </math>
122 <!--
123 The displaystyle attribute is allowed on the mtable element to set the
124 inherited value of the attribute. If the attribute is not present, the
125 mtable element sets displaystyle to "false" within the table elements.
126 -->
127 <math>
128 <mstyle displaystyle="false">
129 <mtable displaystyle="true">
130 <mtr>
131 <mtd>
132 <munder><mo>O</mo><mo>O</mo></munder>
133 </mtd>
134 </mtr>
135 </mtable>
136 </mstyle>
137 <mstyle displaystyle="true">
138 <mtable>
139 <mtr>
140 <mtd>
141 <msub><mo>O</mo><mo>O</mo></msub>
142 </mtd>
143 </mtr>
144 </mtable>
145 </mstyle>
146 </math>
148 </body>
149 </html>