layout/reftests/bugs/368651-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     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