kocienda | a821f22 | 2004-11-11 22:23:23 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | |
| 4 | <style> |
| 5 | .editing { |
| 6 | font-size: 24px; |
| 7 | width: 600px; |
| 8 | } |
| 9 | </style> |
| 10 | <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script> |
| 11 | |
| 12 | <script> |
| 13 | |
| 14 | function editingTest() { |
| 15 | extendSelectionForwardByLineCommand(); |
| 16 | deleteCommand(); |
| 17 | } |
| 18 | |
| 19 | </script> |
| 20 | |
| 21 | <title>Editing Test</title> |
| 22 | </head> |
| 23 | <body contenteditable id="root"> |
| 24 | <div id="test" class="editing">There is a tide<br>in the affairs of men</div> |
| 25 | <script> |
| 26 | runEditingTest(); |
| 27 | </script> |
| 28 | |
| 29 | </body> |
| 30 | </html> |