4 <script src=
"../../resources/dump-as-markup.js"></script>
5 <div contenteditable=
"true" id=
"div">foo
<span contenteditable=
"false"> bar
</span></div>
8 internals
.settings
.setEditingBehavior('mac');
9 var div
= document
.getElementById("div");
10 var sel
= window
.getSelection();
12 sel
.modify("extend", "forward", "word");
13 document
.execCommand("Delete");
14 Markup
.description("This tests for a bug where expansion for smart delete would not consider editable boundaries. Only 'foo' should be deleted. You should see ' bar'. <radr://problem/5390681>");