1 <p>This tests for a crash when inserting into a tab into a tab span that contains a br. You should no longer be able to get a br inside a tab span while editing but we should still avoid the crash.</p>
2 <div id="div" contenteditable="true">
4 <div><span id="span" class="Apple-tab-span"><br></span></div>
9 window.testRunner.dumpAsText();
10 document.getElementById("div").focus();
11 span = document.getElementById("span");
12 window.getSelection().collapse(span, 0);
13 document.execCommand("InsertText", false, "\t");