Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-hr.html
blobe87e8b7cf8d54d13ab811afa399ba91991f905a6
1 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
2 <script>
3 function editingTest() {
4 var selection = window.getSelection();
5 var s = document.getElementById("start");
6 selection.collapse(s, 0);
7 execMoveSelectionForwardByCharacterCommand();
8 for (i = 0; i < 2; i++) {
9 deleteCommand();
12 </script>
13 <div contenteditable="true" id="test">
14 <div>Before</div>
15 <hr>
16 <span id="start">after</span>
17 </div>
18 <script>
19 runEditingTest();
20 </script>