Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Side by Side Diff: LayoutTests/editing/selection/move-by-word-visually-textarea.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698