Geremy Condra | c957189 | 2012-03-05 12:32:24 -0800 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <script> |
| 4 | if (window.layoutTestController) |
| 5 | layoutTestController.dumpAsText(); |
| 6 | </script> |
| 7 | <body> |
| 8 | <p>This test shouldn't crash.</p> |
| 9 | <p><math><mroot><mrow><mroot><mrow><mroot><mrow><mroot><mrow><mroot><mrow><mroot><mrow><mroot><mrow id="insertion-point"></mrow></mroot></mrow></mroot></mrow></mroot></mrow></mroot></mrow></mroot></mrow></mroot></mrow></mroot></math></p></body></html> |
| 10 | <script> |
| 11 | var elem = document.getElementById("insertion-point"); |
| 12 | var parent = elem.parentNode; |
| 13 | var wbr = document.createElement("wbr"); |
| 14 | parent.insertBefore(wbr, elem); |
| 15 | </script> |