1115999-1.html (586B)
1 <!DOCTYPE HTML> 2 <title>Testcase, bug 1115999</title> 3 <style> 4 html { overflow: hidden } 5 html, body { margin: 0; border: 0; } 6 table, tr, td { border: none; margin: 0; padding: 0; border-spacing: 0 } 7 </style> 8 9 <table> 10 <tr> 11 <td>o</td> 12 <td style="position: relative">two</td> 13 </tr> 14 </table> 15 <script> 16 17 document.body.offsetHeight; 18 19 var row = document.getElementsByTagName("tr")[0]; 20 var cell = row.firstElementChild; 21 cell.textContent = "one"; 22 23 document.body.offsetHeight; 24 25 // Force a call to nsTableFrame::SetGeometryDirty. 26 row.appendChild(document.createElement("td")); 27 28 </script>