2 <p>This tests for a crash when pasting content into a link inside a table cell.</p>
3 <div contenteditable="true">
4 <table border="1"><tr><td><a id="link" href="#">T.</a></td></tr></table>
8 var link = document.getElementById("link");
9 var text = link.firstChild;
10 var sel = window.getSelection();
11 sel.setPosition(text, 1);
12 document.execCommand("InsertHTML", false, "his should be a link");