layout/tables/crashtests/370876-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 <html class="reftest-wait">
michael@0 2 <head>
michael@0 3 <script>
michael@0 4
michael@0 5 function boom()
michael@0 6 {
michael@0 7 var a = document.getElementById("a");
michael@0 8 var b = document.getElementById("b");
michael@0 9 var x = document.getElementById("x");
michael@0 10
michael@0 11 a.parentNode.insertBefore(x, a);
michael@0 12 x.parentNode.removeChild(x);
michael@0 13 b.parentNode.removeChild(b);
michael@0 14
michael@0 15 document.documentElement.removeAttribute("class");
michael@0 16 }
michael@0 17
michael@0 18 </script>
michael@0 19 </head>
michael@0 20
michael@0 21
michael@0 22 <body onload="setTimeout(boom, 30);">
michael@0 23
michael@0 24 <table>
michael@0 25 <tr>
michael@0 26 <td id="x">X</td>
michael@0 27 </tr>
michael@0 28 </table>
michael@0 29
michael@0 30 <table border="1" style="border-collapse: collapse;">
michael@0 31 <tr>
michael@0 32 <td id="a">A</td>
michael@0 33 </tr>
michael@0 34 <tr>
michael@0 35 <td id="b" colspan="2">B</td>
michael@0 36 </tr>
michael@0 37 </table>
michael@0 38
michael@0 39 </body>
michael@0 40
michael@0 41 </html>

mercurial