4 <p id=
"description">This tests to make sure that after a deletion, merging can merge into an editable region that's embedded in non-editable content that is collapsed by the deletion.
</p>
5 <div id=
"root" contenteditable=
"true">
6 <table border=
"1" contenteditable=
"false"><tr><td><span id=
"start" contenteditable=
"true">foo
</span></td></tr></table><span id=
"end">x
</span>This sentence should be inside the editable cell.
9 <script src=
"../../resources/dump-as-markup.js"></script>
11 var start
= document
.getElementById("start");
12 var end
= document
.getElementById("end");
13 var sel
= window
.getSelection();
14 var range
= document
.createRange();
15 range
.setStart(start
, 0);
16 range
.setEnd(end
, end
.childNodes
.length
);
18 document
.execCommand("Delete");
19 Markup
.description(description
.textContent
);