| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <body> | 2 <body> |
| 3 Test passes if it does not crash. | 3 Test passes if it does not crash. |
| 4 <ruby><svg><table><span><div><tr></tr><rt id="test"></rt></ruby> | 4 <ruby><svg><table><span><div><tr></tr><rt id="test"></rt></ruby> |
| 5 <script> | 5 <script> |
| 6 function runTest() | 6 function runTest() |
| 7 { | 7 { |
| 8 var child = document.getElementById('test'); | 8 var child = document.getElementById('test'); |
| 9 child.parentNode.removeChild(child); | 9 child.parentNode.removeChild(child); |
| 10 | 10 |
| 11 if (window.layoutTestController) | 11 if (window.layoutTestController) |
| 12 layoutTestController.notifyDone(); | 12 layoutTestController.notifyDone(); |
| 13 } | 13 } |
| 14 | 14 |
| 15 if (window.layoutTestController) { | 15 if (window.layoutTestController) { |
| 16 layoutTestController.dumpAsText(); | 16 layoutTestController.dumpAsText(); |
| 17 layoutTestController.waitUntilDone(); | 17 layoutTestController.waitUntilDone(); |
| 18 } | 18 } |
| 19 | 19 |
| 20 setTimeout("runTest()", 0); | 20 setTimeout("runTest()", 0); |
| 21 </script> | 21 </script> |
| 22 </body> | 22 </body> |
| 23 </html> | 23 </html> |
| OLD | NEW |