darin | 48939d50 | 2006-05-15 04:37:25 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head><style> |
| 3 | body { overflow: hidden; } |
| 4 | </style> |
| 5 | <script> |
| 6 | window.onresize = function() { |
bdash | c873850 | 2007-03-19 04:32:24 +0000 | [diff] [blame] | 7 | var tbody = document.createElement("TBODY") |
darin | 48939d50 | 2006-05-15 04:37:25 +0000 | [diff] [blame] | 8 | |
bdash | c873850 | 2007-03-19 04:32:24 +0000 | [diff] [blame] | 9 | var m = (document.getElementsByTagName("TABLE"))[0] |
| 10 | if(m.hasChildNodes()) m.removeChild(m.lastChild) |
darin | 48939d50 | 2006-05-15 04:37:25 +0000 | [diff] [blame] | 11 | |
bdash | c873850 | 2007-03-19 04:32:24 +0000 | [diff] [blame] | 12 | var tr = tbody.appendChild(document.createElement("TR")) |
darin | 48939d50 | 2006-05-15 04:37:25 +0000 | [diff] [blame] | 13 | |
bdash | c873850 | 2007-03-19 04:32:24 +0000 | [diff] [blame] | 14 | m.appendChild(tbody) |
darin | 48939d50 | 2006-05-15 04:37:25 +0000 | [diff] [blame] | 15 | } |
| 16 | </script> |
| 17 | </head> |
| 18 | <body onload="setTimeout('window.resizeTo(500,500)', 0)"> |
| 19 | <table></table> |
| 20 | <p> |
bdash | c873850 | 2007-03-19 04:32:24 +0000 | [diff] [blame] | 21 | <b>BUG ID: <a href="http://bugs.webkit.org/show_bug.cgi?id=8739">Bugzilla bug 8739</a></b> |
darin | 48939d50 | 2006-05-15 04:37:25 +0000 | [diff] [blame] | 22 | Crash in RenderTableSection::paint due to manipulating DOM on resize |
| 23 | </p> |
| 24 | <p id="success" style="background-color:palegreen; padding:3px;"> |
| 25 | ><b>TEST PASS:</b> You got here without crashing, which means test PASS. It is normal for the |
| 26 | window to have resized. |
| 27 | </p> |
| 28 | </body></html> |