4 <p id="description">This tests for a crash when deleting the contents of a table cell. Below, you should only see one link, 'Cached', pointing to 'fakelink.html', inside of a table. <a href="radr://problem/5156801"><radr://problem/5156801></a></p>
5 <div id="test" contenteditable="true"><table id="table" border=0 cellpadding=0 cellspacing=0><tr><td><br><a href="fakelink.html">Cached</a><a href=""fakelink.html">Similar</a></td></tr></table>
7 <script src="../../resources/dump-as-markup.js"></script>
9 s = window.getSelection();
10 table = document.getElementById("table");
11 s.collapse(table, table.childNodes.length);
12 s.modify("move", "backward", "character");
13 document.execCommand("Delete");
14 document.execCommand("Delete");
15 document.execCommand("Delete");
16 document.execCommand("Delete");
17 document.execCommand("Delete");
18 document.execCommand("Delete");
19 document.execCommand("Delete");
20 Markup.description(description.textContent);