layout/tables/crashtests/339130-1.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

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