4 <p id=
"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></p>
5 <div contenteditable=
"true" id=
"div">foo
6 <span contenteditable=
"false"> bar
</span></div>
8 <script src=
"../../resources/dump-as-markup.js"></script>
10 var div
= document
.getElementById("div");
11 var x
= div
.offsetLeft
;
12 var y
= div
.offsetTop
;
13 eventSender
.mouseMoveTo(x
, y
);
14 eventSender
.mouseDown();
15 eventSender
.mouseUp();
16 eventSender
.mouseDown();
17 eventSender
.mouseUp();
18 document
.execCommand("Delete");
19 Markup
.description(description
.textContent
);