layout/mathml/crashtests/307826-1.xhtml

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:28037fa6619f
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
2
3 <head>
4
5 <title>Testcase for MathML crash</title>
6
7 <script><![CDATA[
8
9 function boom() {
10 var div = document.getElementById("div");
11 var mi = document.getElementById("mi");
12 mi.appendChild(div);
13 mi.removeChild(div);
14
15 document.documentElement.removeAttribute("class");
16 }
17
18 ]]></script>
19
20 </head>
21
22
23 <body onload="setTimeout(boom, 30);">
24
25 <div style="float: right;" id="div">Floated div</div>
26
27 <math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mi id="mi">mi</mi></math>
28
29 </body>
30 </html>

mercurial