layout/tables/crashtests/347725-1.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
michael@0 2 <head>
michael@0 3 <script>
michael@0 4
michael@0 5 function foo()
michael@0 6 {
michael@0 7 var e = document.createElement("td");
michael@0 8 document.getElementById("h").appendChild(e);
michael@0 9
michael@0 10 e.setAttribute("rowspan", 2);
michael@0 11 e.setAttribute("colspan", 3);
michael@0 12
michael@0 13 var tbody = document.getElementById("tbody");
michael@0 14 tbody.parentNode.removeChild(tbody);
michael@0 15
michael@0 16 document.documentElement.removeAttribute("class");
michael@0 17 }
michael@0 18
michael@0 19 </script>
michael@0 20
michael@0 21 </head>
michael@0 22
michael@0 23 <body onload="setTimeout(foo, 30)">
michael@0 24
michael@0 25 <table id="table1">
michael@0 26 <thead style="visibility: collapse">
michael@0 27 <tr id="h"><td rowspan="2">A</td></tr>
michael@0 28 </thead>
michael@0 29 <tfoot>
michael@0 30 <tr><td rowspan="2" colspan="0">B</td></tr>
michael@0 31 <tr><td>C</td></tr>
michael@0 32 </tfoot>
michael@0 33 <tbody id="tbody">
michael@0 34 <tr><td>D</td></tr>
michael@0 35 </tbody>
michael@0 36 </table>
michael@0 37
michael@0 38 </body>
michael@0 39 </html>

mercurial