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

Side by Side Diff: LayoutTests/editing/selection/collapse-selection-in-bidi.html

Issue 48903019: Delete js-test-post.js. (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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 <script src="resources/js-test-selection-shared.js"></script> 5 <script src="resources/js-test-selection-shared.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p>This tests collapsing directionless selection on text in a block with the opp osite text direction. 8 <p>This tests collapsing directionless selection on text in a block with the opp osite text direction.
9 To manually test, on Mac, select text below by mouse and use arrow keys (without pressing shift) to collapse the selection. 9 To manually test, on Mac, select text below by mouse and use arrow keys (without pressing shift) to collapse the selection.
10 The selection should collapse to the left if you pressed the left arrow key and to the right if you pressed the right arrow key.</p> 10 The selection should collapse to the left if you pressed the left arrow key and to the right if you pressed the right arrow key.</p>
(...skipping 28 matching lines...) Expand all
39 expectedOffset = isLTR ? window.getSelection().getRangeAt(0).startOffset : window.getSelection().getRangeAt(0).endOffset; 39 expectedOffset = isLTR ? window.getSelection().getRangeAt(0).startOffset : window.getSelection().getRangeAt(0).endOffset;
40 window.getSelection().modify('move', 'right', 'character'); 40 window.getSelection().modify('move', 'right', 'character');
41 assertSelectionAt(tests[i].firstChild, expectedOffset); 41 assertSelectionAt(tests[i].firstChild, expectedOffset);
42 } 42 }
43 43
44 document.getElementById('tests').style.display = 'none'; 44 document.getElementById('tests').style.display = 'none';
45 } 45 }
46 46
47 47
48 </script> 48 </script>
49 <script src="../../fast/js/resources/js-test-post.js"></script>
50 </body> 49 </body>
51 </html> 50 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/selection/click-outside-editable-div.html ('k') | LayoutTests/editing/selection/css-pseudo-element.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698