Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <html class="reftest-wait">
2 <body>
3 <math>
4 <mo id="mo1">⁡<!-- FUNCTION APPLICATION --></mo>
5 </math>
6 <p>
7 <math>
8 <mo id="mo2">⁢<!-- INVISIBLE TIMES --></mo>
9 </math>
10 <p>
11 <math>
12 <mo id="mo3">⁣<!-- INVISIBLE SEPARATOR --></mo>
13 </math>
14 <p>
15 <math>
16 <mo id="mo4">⁤<!-- INVISIBLE PLUS --></mo>
17 </math>
18 <p>
19 <!-- Test preferred width after dynamic change-->
20 <table>
21 <tr>
22 <td style="border: 1px solid;">
23 <math>
24 <mo id="mo5">⁡</mo>
25 </math>
26 </td>
27 </tr>
28 </table>
29 <script type="text/javascript">
30 function doTest() {
31 document.getElementById('mo1').firstChild.data = '1';
32 document.getElementById('mo2').firstChild.data = '2';
33 document.getElementById('mo3').firstChild.data = '3';
34 document.getElementById('mo4').firstChild.data = '4';
35 document.getElementById('mo5').firstChild.data = 'x';
36 document.documentElement.removeAttribute("class");
37 }
38 window.addEventListener("MozReftestInvalidate", doTest, false);
39 </script>
40 </body>
41 </html>