layout/tables/crashtests/339130-1.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
michael@0 2 <html>
michael@0 3
michael@0 4 <head>
michael@0 5 <script>
michael@0 6
michael@0 7 function boom()
michael@0 8 {
michael@0 9 var table = document.getElementById("table");
michael@0 10
michael@0 11 table.insertBefore(document.createElement("thead"), document.getElementById("A"));
michael@0 12
michael@0 13 var tb2 = document.createElement("tfoot");
michael@0 14 var tr1 = document.createElement("tr");
michael@0 15 tb2.appendChild(tr1);
michael@0 16 table.appendChild(tb2);
michael@0 17
michael@0 18 var tr = document.createElement("tr");
michael@0 19 var td = document.createElement("td");
michael@0 20 td.appendChild(document.createTextNode("td"));
michael@0 21 td.setAttribute("rowspan", 0);
michael@0 22 tr.appendChild(td);
michael@0 23 document.getElementById("B").appendChild(tr);
michael@0 24 }
michael@0 25
michael@0 26 </script>
michael@0 27 </head>
michael@0 28 <body onload="boom();">
michael@0 29
michael@0 30 <table id="table">
michael@0 31 <tfoot id="A"><tr><td>td</td></tr></tfoot>
michael@0 32 <tfoot id="B"><tr><td>td</td></tr></tfoot>
michael@0 33 <thead></thead>
michael@0 34 </table>
michael@0 35
michael@0 36 </body>
michael@0 37 </html>

mercurial