Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / 4916235-1.html
blobced4f03110e3e2654b94a6b1ab40d87a7254219e
1 <p>This tests for a bug in moveParagraphs that would cause an empty paragraph to collapse.</p>
2 <div id="div" contenteditable="true">There should be an empty paragraph below this one.<div>There should be an empty paragraph below this one.</div><br>There should be an empty paragraph above this one.</div>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpAsText();
8 var div = document.getElementById("div");
9 var sel = window.getSelection();
11 sel.collapse(div, 0);
12 sel.modify("move", "forward", "character");
13 sel.modify("extend", "forward", "line");
14 document.execCommand("Delete");
15 </script>