| OLD | NEW |
| (Empty) |
| 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 moveSelectionForwardByCharacterCommand(); | |
| 18 for (i = 0; i < 157; i++) { | |
| 19 extendSelectionForwardByCharacterCommand(); | |
| 20 } | |
| 21 } | |
| 22 | |
| 23 </script> | |
| 24 | |
| 25 <title>Editing Test</title> | |
| 26 </head> | |
| 27 <body> | |
| 28 <div contenteditable id="root" class="editing"> | |
| 29 <span id="test"><i>F and seven</i> years <b> as </b>our fathers f upon this | |
| 30 continent, a new nation, conceived in Liberty, and
dedicated to the | |
| 31 proposition that all | |
| 32 <br>men are created equal.</span> | |
| 33 </div> | |
| 34 | |
| 35 <script> | |
| 36 runEditingTest(); | |
| 37 </script> | |
| 38 | |
| 39 </body> | |
| 40 </html> | |
| OLD | NEW |