Bug 449371 Firefox/Thunderbird crashes at exit [@ gdk_display_x11_finalize], p=Brian...
[wine-gecko.git] / testing / mochitest / tests / test_bug1400.html
blob355844881ddf4e060c667c36f4c24181b917e68d
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=1400
5 -->
6 <head>
7 <title>Test for Bug 1400</title>
8 <script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
9 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
11 </head>
12 <body>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1400">Mozilla Bug 1400</a>
14 <p id="display"></p>
15 <div id="content" style="display: none">
17 </div>
18 <pre id="test">
19 <script class="testbody" type="text/javascript">
21 /** Test for Bug 1400 **/
23 table = document.createElement("TABLE");
24 thead = table.createTHead();
25 thead2 = table.createTHead();
27 table.appendChild(thead);
28 table.appendChild(thead);
29 table.appendChild(thead);
30 table.appendChild(thead2);
31 table.appendChild(thead2);
32 table.appendChild(thead2);
33 table.appendChild(thead);
34 table.appendChild(thead2);
36 is(table.childNodes.length, 1,
37 "adding multiple theads results in one thead child");
39 </script>
40 </pre>
41 </body>
42 </html>