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.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 3
michael@0 4 <head>
michael@0 5 <script>
michael@0 6 function boom()
michael@0 7 {
michael@0 8 var td = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
michael@0 9 td.appendChild(document.createTextNode("b"));
michael@0 10 document.getElementById("tbody").appendChild(td);
michael@0 11 }
michael@0 12 </script>
michael@0 13 </head>
michael@0 14
michael@0 15 <body>
michael@0 16
michael@0 17 <table border>
michael@0 18 <tbody id="tbody">
michael@0 19 <tr>
michael@0 20 <td rowspan="0">a</td>
michael@0 21 </tr>
michael@0 22 <tr>
michael@0 23 </tr>
michael@0 24 </tbody>
michael@0 25 </table>
michael@0 26
michael@0 27 <script>
michael@0 28 // Flush layout
michael@0 29 document.body.offsetWidth;
michael@0 30
michael@0 31 boom();
michael@0 32 </script>
michael@0 33
michael@0 34 </body>
michael@0 35 </html>

mercurial