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

Side by Side Diff: LayoutTests/editing/selection/caret-mode-paragraph-keys-navigation.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 PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
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 </head> 5 </head>
6 <body> 6 <body>
7 <p id="target">This tests that arrow keys navigate through a paragraph as expect ed when in caret browsing mode, also with shift and ctrl modifiers.</p> 7 <p id="target">This tests that arrow keys navigate through a paragraph as expect ed when in caret browsing mode, also with shift and ctrl modifiers.</p>
8 <p id="description"></p> 8 <p id="description"></p>
9 <div id="console"></div> 9 <div id="console"></div>
10 <script> 10 <script>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // check left/right arrows + Ctrl/Option + Shift 46 // check left/right arrows + Ctrl/Option + Shift
47 eventSender.keyDown("rightArrow", [modifierForWordGranularity, "shiftKey"]); 47 eventSender.keyDown("rightArrow", [modifierForWordGranularity, "shiftKey"]);
48 eventSender.keyDown("rightArrow", [modifierForWordGranularity, "shiftKey"]); 48 eventSender.keyDown("rightArrow", [modifierForWordGranularity, "shiftKey"]);
49 shouldBe("getSelection().baseOffset", "16"); 49 shouldBe("getSelection().baseOffset", "16");
50 shouldBe("getSelection().extentOffset", "26"); 50 shouldBe("getSelection().extentOffset", "26");
51 eventSender.keyDown("leftArrow", [modifierForWordGranularity]); 51 eventSender.keyDown("leftArrow", [modifierForWordGranularity]);
52 shouldBe("getSelection().baseOffset", "22"); 52 shouldBe("getSelection().baseOffset", "22");
53 } 53 }
54 54
55 </script> 55 </script>
56 <script src="../../fast/js/resources/js-test-post.js"></script>
57 </body> 56 </body>
58 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698