Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / insert-at-end-01.html
blob7a40dd0dea9ec06069c96b85232e6ad04a977b73
1 <html>
2 <head>
4 <link rel="stylesheet" href="../editingStyle.css">
5 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
7 <script>
9 function editingTest() {
10 moveSelectionForwardByLineCommand();
11 moveSelectionForwardByLineCommand();
12 moveSelectionForwardByLineCommand();
13 moveSelectionForwardByLineCommand();
14 typeCharacterCommand();
17 </script>
19 <title>Editing Test</title>
20 </head>
21 <body>
23 <p>This tests the visual position at the end of an editable block.</p>
24 <p>When the document ended with a &lt;br&gt;, there were visual positions at both [br, 0] and [br, 1]. This would produce inconsistent behavior when editing at the end of a document.</p>
26 <div contenteditable id="test" class="editing">
27 <div>paragraph one</div>
28 <div>paragraph two</div>
29 <br></div>
31 <script>runEditingTest();</script>
33 </body></html>