| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../fast/js/resources/js-test-pre.js"></script> | 2 <script src="../../resources/js-test.js"></script> |
| 3 <script> | 3 <script> |
| 4 | 4 |
| 5 onload = function() { | 5 onload = function() { |
| 6 var sel = window.getSelection(); | 6 var sel = window.getSelection(); |
| 7 sel.empty(); | 7 sel.empty(); |
| 8 | 8 |
| 9 var test = document.getElementById("test_move_by_word"); | 9 var test = document.getElementById("test_move_by_word"); |
| 10 test.focus(); | 10 test.focus(); |
| 11 test.value = "word word word\n\n\nword\n\n\n "; | 11 test.value = "word word word\n\n\nword\n\n\n "; |
| 12 test.selectionDirection = 'none'; | 12 test.selectionDirection = 'none'; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 34 testPassed("Pass"); | 34 testPassed("Pass"); |
| 35 } | 35 } |
| 36 | 36 |
| 37 if (window.testRunner && window.internals) { | 37 if (window.testRunner && window.internals) { |
| 38 testRunner.dumpAsText(); | 38 testRunner.dumpAsText(); |
| 39 internals.settings.setEditingBehavior('win'); | 39 internals.settings.setEditingBehavior('win'); |
| 40 } | 40 } |
| 41 </script> | 41 </script> |
| 42 | 42 |
| 43 <textarea title = "5 10 17 27" dir=ltr id="test_move_by_word"></textarea> | 43 <textarea title = "5 10 17 27" dir=ltr id="test_move_by_word"></textarea> |
| OLD | NEW |