| Index: third_party/WebKit/LayoutTests/editing/inserting/typing-at-end-of-line.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/inserting/typing-at-end-of-line.html b/third_party/WebKit/LayoutTests/editing/inserting/typing-at-end-of-line.html
|
| index daf1c6988c45975ec887a81992d0f2c2e71ea914..419b9dae79e607370bcca110adafbe5f0796d117 100644
|
| --- a/third_party/WebKit/LayoutTests/editing/inserting/typing-at-end-of-line.html
|
| +++ b/third_party/WebKit/LayoutTests/editing/inserting/typing-at-end-of-line.html
|
| @@ -9,18 +9,11 @@
|
| and Anna, you can do your regular weekly report run, and I'll extract the key sections into this. Andrew and Mark, I'd like to include any new bits you
|
| </div>
|
| </body>
|
| -<script src="../editing.js"></script>
|
| <script>
|
| -function editingTest()
|
| -{
|
| - execMoveSelectionForwardByLineCommand();
|
| - typeCharacterCommand(' ');
|
| - typeCharacterCommand('h');
|
| - typeCharacterCommand('a');
|
| - typeCharacterCommand('v');
|
| - typeCharacterCommand('e');
|
| -}
|
| -
|
| -runEditingTest();
|
| +const selection = getSelection();
|
| +selection.collapse(document.getElementById('test'), 0);
|
| +selection.modify('move', 'forward', 'line');
|
| +// Inserts text at end of line.
|
| +document.execCommand('insertText', false, ' have');
|
| </script>
|
| </html>
|
|
|