| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>Text does not split on white space when typing to the edge of window</tit
le> | 3 <title>Text does not split on white space when typing to the edge of window</tit
le> |
| 4 </head> | 4 </head> |
| 5 <body> | 5 <body style="overflow:hidden;"> |
| 6 <div>This test validates the fix for a bug that occurred when typing a blank at
the end of a line when the character doesn't fix by a fraction of a pixel. If th
e test runs correctly, you should see the word 'you' at the end of the line and
the word 'have' at the beginning of the following line.</div> | 6 <div>This test validates the fix for a bug that occurred when typing a blank at
the end of a line when the character doesn't fix by a fraction of a pixel. If th
e test runs correctly, you should see the word 'you' at the end of the line and
the word 'have' at the beginning of the following line.</div> |
| 7 <br> | 7 <br> |
| 8 <div id="test" contenteditable style="font: 12px 'lucida grande'; outline: solid
blue; width: 871px; height: 100px;"> | 8 <div id="test" contenteditable style="font: 12px 'lucida grande'; outline: solid
blue; width: 871px; height: 100px;"> |
| 9 and Anna, you can do your regular weekly report run, and I'll extract the key se
ctions into this. Andrew and Mark, I'd like to include any new bits you | 9 and Anna, you can do your regular weekly report run, and I'll extract the key se
ctions into this. Andrew and Mark, I'd like to include any new bits you |
| 10 </div> | 10 </div> |
| 11 </body> | 11 </body> |
| 12 <script src="../editing.js"></script> | 12 <script src="../editing.js"></script> |
| 13 <script> | 13 <script> |
| 14 function editingTest() | 14 function editingTest() |
| 15 { | 15 { |
| 16 execMoveSelectionForwardByLineCommand(); | 16 execMoveSelectionForwardByLineCommand(); |
| 17 typeCharacterCommand(' '); | 17 typeCharacterCommand(' '); |
| 18 typeCharacterCommand('h'); | 18 typeCharacterCommand('h'); |
| 19 typeCharacterCommand('a'); | 19 typeCharacterCommand('a'); |
| 20 typeCharacterCommand('v'); | 20 typeCharacterCommand('v'); |
| 21 typeCharacterCommand('e'); | 21 typeCharacterCommand('e'); |
| 22 } | 22 } |
| 23 | 23 |
| 24 runEditingTest(); | 24 runEditingTest(); |
| 25 </script> | 25 </script> |
| 26 </html> | 26 </html> |
| OLD | NEW |