mjs@apple.com | 658bbba | 2011-03-25 16:11:57 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <script> |
rniwa@webkit.org | 0837233 | 2012-06-15 07:33:22 +0000 | [diff] [blame] | 4 | if (window.testRunner) |
| 5 | testRunner.dumpAsText(); |
mjs@apple.com | 658bbba | 2011-03-25 16:11:57 +0000 | [diff] [blame] | 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> |