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