layout/reftests/bugs/564054-1.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <script type="text/javascript">
     6 function boom()
     7 {
     8   var tbody = document.getElementById("tbody");
     9   var trX = document.createElement('tr');
    10   tbody.insertBefore(trX, tbody.getElementsByTagName("tr")[0]);
    11   var trY = document.createElement('tr');
    12   tbody.insertBefore(trY, trX);
    13   var tdY1 = document.createElement('td');
    14   tdY1.setAttribute('rowspan', 0);
    15   trY.appendChild(tdY1);
    16 }
    17 </script>
    18 <style>
    19 td {width: 30px; height: 30px;}
    21 </style>
    22 </head>
    24 <body onload="boom();">
    25  <table border cellspacing="10px" cellpadding="10px">
    26   <tbody id="tbody">
    27    <tr>
    28     <td></td>
    29    </tr>
    30   </tbody>
    31  </table>
    32 </body>
    33 </html>

mercurial