layout/tables/crashtests/323604-2.xhtml

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <head>
     4 <script>
     6 var HTML_NS = "http://www.w3.org/1999/xhtml";
     8 function foo() { 
     9   var table = document.getElementById("table");
    10   var newRow = document.createElementNS(HTML_NS, 'tr');  
    11   table.insertBefore(newRow, document.getElementById('lastrow'));
    12 }
    15 doc = document;
    17 </script>
    19 </head>
    22 <body onload="setTimeout(foo, 300);">
    25 <h3>Tables</h3>
    28 <table id="table" border="1" style="border-collapse: collapse">
    30   <tr>
    31     <col></col>
    32     <td rowspan="2">TD</td>
    33   </tr>
    35   <tr id="lastrow">
    36     <td width="50%">TD</td>
    37   </tr>
    39 </table>
    42 </body>
    43 </html>

mercurial