layout/mathml/crashtests/375562-1.xhtml

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:11963f599048
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
2 <head>
3 <script>
4
5 var HTML_NS = "http://www.w3.org/1999/xhtml";
6
7 function boom()
8 {
9 var a = document.getElementById("a");
10 var plus = document.getElementById("plus");
11 var frameset = document.createElementNS(HTML_NS, "frameset");
12
13 document.body.style.width = "300px";
14
15 a.parentNode.removeChild(a);
16
17 plus.appendChild(frameset);
18
19 document.documentElement.removeAttribute("class");
20 }
21
22 </script>
23 </head>
24
25 <body onload="setTimeout(boom, 30);">
26
27 <div><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
28 <msup>
29 <mi id="a">a</mi>
30 <mo id="plus">+</mo>
31 <mi>b</mi>
32 <mi>c</mi>
33 </msup>
34 </math></div>
35
36 </body>
37
38 </html>

mercurial