Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-line-015.html
blob493854872a5736d66c5eb61197066fc37c90ed24
1 <html>
3 <head>
4 <script src="../editing.js"></script>
5 <script>
6 function editingTest() {
7 extendSelectionForwardByLineCommand();
8 deleteCommand();
10 </script>
11 </head>
13 <body>
15 <p>This tests deletion of an empty line starting inside a &lt;div&gt; element,
16 but ending outside that element (just before a &lt;br&gt;). If the deletion is
17 successful, the result should have two lines, and the insertion point
18 should be on the second line, at the end of the editable area.</p>
20 <div contenteditable>
21 <div>a</div><div id="test"><br></div><br>
22 </div>
24 </body>
26 <script>runEditingTest()</script>
28 </html>