Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / deleting / merge-into-empty-block-2.html
1 <p id="description">When a user puts the caret at the very beginning a list and hits delete into an empty line, the list should just move up.</p>
2 <div contenteditable="true"><div><br></div><ul><li><span id="test">foo</span></li></ul></div>
3 <script src="../../resources/dump-as-markup.js"></script>
4 <script>
5 if (window.testRunner)
6      testRunner.dumpEditingCallbacks();
7
8 var e = document.getElementById("test");
9 window.getSelection().collapse(e, 0);
10
11 document.execCommand("Delete");
12
13 Markup.description(document.getElementById('description').textContent);
14 Markup.dump(document.querySelector('div'));
15 </script>