| <html> |
| <head> |
| |
| <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script> |
| |
| <script> |
| |
| function editingTest() { |
| for (var i = 0; i < 50; i++) { |
| moveSelectionForwardByCharacterCommand(); |
| } |
| for (var i = 0; i < 50; i++) { |
| moveSelectionBackwardByCharacterCommand(); |
| } |
| } |
| |
| </script> |
| |
| <title>Editing Test</title> |
| </head> |
| <body> |
| <p>This tests caret movement across an iframe. The caret shouldn't enter the iframe as the user arrows across it (unless we decide later that we want it to).</p> |
| <div contenteditable id="root" class="editing"> |
| <div id="test"> |
| iframe: <iframe style="border: 1px solid black" width="400px" height="200px" src="inline-table.html"></iframe> |
| the end ... |
| </div> |
| </div> |
| <script> |
| runEditingTest(); |
| </script> |
| |
| </body> |
| </html> |