OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <style> | 3 <style> |
4 .editing { width: 12px; } | 4 .editing { width: 12px; } |
5 </style> | 5 </style> |
6 <script src="../editing.js"></script> | 6 <script src="../editing.js"></script> |
7 <script> | 7 <script> |
8 if (window.layoutTestController) | 8 if (window.layoutTestController) |
9 layoutTestController.dumpAsText(); | 9 layoutTestController.dumpAsText(); |
10 | 10 |
11 function editingTest() { | 11 function editingTest() { |
12 moveSelectionForwardByWordCommand(); | 12 moveSelectionForwardByWordCommand(); |
13 moveSelectionForwardByWordCommand(); | 13 moveSelectionForwardByWordCommand(); |
14 deleteCommand(); | 14 deleteCommand(); |
15 deleteCommand(); | 15 deleteCommand(); |
16 deleteCommand(); | 16 deleteCommand(); |
17 deleteCommand(); | 17 deleteCommand(); |
18 } | 18 } |
19 </script> | 19 </script> |
20 <div contenteditable class="editing"> | 20 <div contenteditable class="editing"> |
21 <ul>PASSED<symbol id="test">abcd efg hijkl | 21 <ul>PASSED<symbol id="test">abcd efg hijkl |
22 <script> | 22 <script> |
23 runEditingTest(); | 23 runEditingTest(); |
24 </script> | 24 </script> |
25 </html> | 25 </html> |
OLD | NEW |