Reviewed by John
[WebKit-https.git] / LayoutTests / editing / inserting / insert-3659587-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 < 3; i++) {
17         typeCharacterCommand();
18     }
19     selectAllCommand();
20     boldCommand();
21     moveSelectionForwardByCharacterCommand();
22     for (i = 0; i < 3; i++) {
23         typeCharacterCommand();
24     }
25     insertLineBreakCommand();
26     for (i = 0; i < 3; i++) {
27         typeCharacterCommand();
28     }
29 }
30
31 </script>
32
33 <title>Editing Test</title> 
34 </head> 
35 <body>
36 <div contenteditable id="root" class="editing">
37 <span id="test">test</span>
38 </div>
39
40 <script>
41 runEditingTest();
42 </script>
43
44 </body>
45 </html>