Reviewed by Ken Kocienda.
[WebKit-https.git] / LayoutTests / editing / deleting / delete-3857753-fix.html
1 <html> 
2 <head>
3
4 <style>
5 .editing { 
6     border: 2px solid red; 
7     padding: 12px; 
8     font-size: 24px; 
9 }
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
12
13 <script>
14
15 function editingTest() {
16     for (i = 0; i < 2; i++)
17         moveSelectionForwardByCharacterCommand();    
18     for (i = 0; i < 4; i++)
19         extendSelectionForwardByCharacterCommand();    
20     deleteCommand();
21 }
22
23 </script>
24
25 <title>Editing Test</title> 
26 </head> 
27 <body contenteditable id="root" class="editing">
28 <div id="test"><b>one</b></div><div><i>two</i></div>
29 <div><b>three</b><i>four</i></div>
30
31 <script>
32 runEditingTest();
33 </script>
34
35 </body>
36 </html>