blob: 8b7c56d90f7369ac07c50e56e718ad994aa737c3 [file] [log] [blame]
mjs@apple.com658bbba2011-03-25 16:11:57 +00001<!DOCTYPE html>
2<html>
3<script>
rniwa@webkit.org08372332012-06-15 07:33:22 +00004if (window.testRunner)
5 testRunner.dumpAsText();
mjs@apple.com658bbba2011-03-25 16:11:57 +00006</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>
11var elem = document.getElementById("insertion-point");
12var parent = elem.parentNode;
13var wbr = document.createElement("wbr");
14parent.insertBefore(wbr, elem);
15</script>