layout/tables/crashtests/358679-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">
     3 <head>
     4 <script>
     5 function foo() { 
     6   var cell2 = document.createElementNS("http://www.w3.org/1999/xhtml", "td"); 
     7   cell2.appendChild(document.createTextNode('2'));
     9   document.getElementById("row2").appendChild(cell2);
    11   document.documentElement.removeAttribute("class");
    12 }
    14 </script>
    15 </head>
    17 <body onload="setTimeout(foo, 30);">
    19 <table border="1">
    20   <tr>
    21     <td>A</td>
    22     <td>B</td>
    23   </tr>
    24   <tr id="row2">
    25     <td colspan="0">1</td>
    26   </tr>
    27 </table>
    30 </body>
    31 </html>

mercurial