Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-line-014.html
blob98236c33d243b1b7fb6819719b19be40c69b52f1
1 <html>
2 <head>
4 <style>
5 body {
6 font-size: 24px;
8 </style>
9 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
11 <script>
13 function editingTest() {
14 moveSelectionForwardByCharacterCommand();
15 for (i = 0; i < 15; i++)
16 extendSelectionForwardByCharacterCommand();
17 deleteCommand();
20 </script>
22 <title>Editing Test</title>
23 </head>
24 <body contenteditable id="root">
25 <div id="test">There is a tide</div><br>in the affairs of men
27 <!-- Do not fall into the trap represented by this bug:
28 <rdar://problem/3890955> 8A314: Forward delete sometimes fails to delete the selected quoted text
30 Delete the whole selection and not just the trailing <br>.
31 -->
33 <script>
34 runEditingTest();
35 </script>
37 </body>
38 </html>