Reviewed by me
[WebKit-https.git] / LayoutTests / editing / deleting / delete-line-014.html
1 <html> 
2 <head>
3
4 <style>
5 body { 
6     font-size: 24px; 
7 }
8 </style>
9 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
10
11 <script>
12
13 function editingTest() {
14     moveSelectionForwardByCharacterCommand(); 
15     for (i = 0; i < 15; i++)
16         extendSelectionForwardByCharacterCommand(); 
17     deleteCommand(); 
18 }
19
20 </script>
21
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
26
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
29      
30      Delete the whole selection and not just the trailing <br>.
31 -->
32
33 <script>
34 runEditingTest();
35 </script>
36
37 </body>
38 </html>