Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>Testcase for bug 414123</title>
6 <script>
7 function boom() {
8 var t = document.createTextNode('M')
9 document.getElementById('mi1').appendChild(t);
11 var mi = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mi");
12 var mn = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mn");
13 var msup = document.createElementNS("http://www.w3.org/1998/Math/MathML", "msup");
14 mi.appendChild(document.createTextNode('M'));
15 mn.appendChild(document.createTextNode('2'));
16 msup.appendChild(mi);
17 msup.appendChild(mn);
18 document.getElementById('m').appendChild(msup);
19 }
20 </script>
21 </head>
22 <body onload="boom()">
24 <math xmlns="http://www.w3.org/1998/Math/MathML">
25 <msup>
26 <mi id="mi1"></mi>
27 <mn>2</mn>
28 </msup>
29 </math>
31 <math xmlns="http://www.w3.org/1998/Math/MathML">
32 <msup>
33 <mi>M</mi>
34 <mn>2</mn>
35 </msup>
36 </math>
38 <math id="m" xmlns="http://www.w3.org/1998/Math/MathML"></math>
40 </body>
41 </html>