layout/tables/crashtests/343087-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 3.2//en">
michael@0 2
michael@0 3 <html>
michael@0 4
michael@0 5 <head>
michael@0 6 <title>testcase</title>
michael@0 7 <script>
michael@0 8
michael@0 9 function doit()
michael@0 10 {
michael@0 11 var doc = window.document;
michael@0 12 var t1 = doc.getElementById('table1');
michael@0 13 var tb = doc.createElement('tfoot');
michael@0 14 var tr = doc.createElement('tr');
michael@0 15 tb.appendChild(tr);
michael@0 16 t1.appendChild(tb);
michael@0 17 var tb = doc.createElement('tfoot');
michael@0 18 var tr = doc.createElement('tr');
michael@0 19 tb.appendChild(tr);
michael@0 20 t1.appendChild(tb);
michael@0 21 var tb = doc.createElement('tfoot');
michael@0 22 var td = doc.createElement('td');
michael@0 23 tr.appendChild(td);
michael@0 24 tb.appendChild(tr);
michael@0 25 t1.insertBefore(tb, doc.getElementById("colg1"));
michael@0 26 tr.parentNode.removeChild(tr);
michael@0 27 }
michael@0 28 </script>
michael@0 29
michael@0 30 </head>
michael@0 31
michael@0 32 <body onload="doit()">
michael@0 33
michael@0 34 <table id="table1"><tbody id="tbody1"><tr id="tr1"><td id="td1">x</td></tr></tbody><colgroup id ="colg1"></table>
michael@0 35
michael@0 36
michael@0 37
michael@0 38 </body>
michael@0 39
michael@0 40 </html>

mercurial