blob: 8b7c56d90f7369ac07c50e56e718ad994aa737c3 [file] [log] [blame]
<!DOCTYPE html>
<html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<body>
<p>This test shouldn't crash.</p>
<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>
<script>
var elem = document.getElementById("insertion-point");
var parent = elem.parentNode;
var wbr = document.createElement("wbr");
parent.insertBefore(wbr, elem);
</script>