layout/reftests/bugs/368651-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 xmlns="http://www.w3.org/1999/xhtml">
     4 <head>
     5 <script>
     6 function boom()
     7 {
     8   var td = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
     9   td.appendChild(document.createTextNode("b"));
    10   document.getElementById("tbody").appendChild(td);
    11 }
    12 </script>
    13 </head>
    15 <body>
    17 <table border>
    18   <tbody id="tbody">
    19     <tr>
    20       <td rowspan="0">a</td>
    21     </tr>
    22     <tr>
    23     </tr>
    24   </tbody>
    25 </table>
    27 <script>
    28   // Flush layout
    29   document.body.offsetWidth;
    31   boom();
    32 </script>
    34 </body>
    35 </html>

mercurial