145acf3fb612f52bfc794ed0067d5721a0b3b958
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / deleting / merge-into-empty-block-1.html
1 <p id="description">When a user puts the caret at the very beginning of a blockquote and hits backspace, if the line before the blockquote is empty, the blockquote should just move up.</p>
2 <div contenteditable="true"><div><br></div><blockquote style="margin: 0px; padding-left: 25px; border-left: 3px solid blue; color: blue;" type="cite"><span id="test">foo</span></blockquote></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 Markup.description(document.getElementById('description').textContent);
13 Markup.dump(document.querySelector('div'));
14 </script>