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

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

mercurial