Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / merge-into-empty-block-2.html
blob3517b2987141ee7bc3ac523dd729114cb4c77352
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();
8 var e = document.getElementById("test");
9 window.getSelection().collapse(e, 0);
11 document.execCommand("Delete");
13 Markup.description(document.getElementById('description').textContent);
14 Markup.dump(document.querySelector('div'));
15 </script>