Reviewed by me
[WebKit-https.git] / LayoutTests / editing / inserting / insert-tab-002.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         moveSelectionForwardByCharacterCommand();
18     typeCharacterCommand('\t');
19 }
20
21 </script>
22
23 <title>Editing Test</title> 
24 </head> 
25 <body>
26 <div contenteditable id="root" class="editing">
27 <span id="test">foo</span>
28 </div>
29
30 <script>
31 runEditingTest();
32 </script>
33
34 </body>
35 </html>