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

Side by Side Diff: LayoutTests/editing/caret/selection-with-caret-type-progress.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
« no previous file with comments | « LayoutTests/css3/zoom-coords.xhtml ('k') | LayoutTests/editing/context-menu-leak-document.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <p id="description"></p> 4 <p id="description"></p>
5 <div style="cursor:progress; border: 2px solid red;" id="test">Try selecting thi s text by dragging the cursor. Progress cursor should be displayed while doing s o.</div> 5 <div style="cursor:progress; border: 2px solid red;" id="test">Try selecting thi s text by dragging the cursor. Progress cursor should be displayed while doing s o.</div>
6 <div id="console"></div> 6 <div id="console"></div>
7 <script src="../../fast/js/resources/js-test-pre.js"></script> 7 <script src="../../fast/js/resources/js-test-pre.js"></script>
8 <script> 8 <script>
9 if (window.eventSender && window.internals) { 9 if (window.eventSender && window.internals) {
10 description('Tests whether explicitly set caret style is retained on perform ing text selection'); 10 description('Tests whether explicitly set caret style is retained on perform ing text selection');
(...skipping 14 matching lines...) Expand all
25 25
26 leapForwardAndMove(10); 26 leapForwardAndMove(10);
27 27
28 leapForwardAndMove(div.offsetWidth - 10); 28 leapForwardAndMove(div.offsetWidth - 10);
29 29
30 var cursorInfo = window.internals.getCurrentCursorInfo(document); 30 var cursorInfo = window.internals.getCurrentCursorInfo(document);
31 var currentCursorType = cursorInfo.substring(cursorInfo.indexOf('=') + 1, cu rsorInfo.lastIndexOf(' ')); 31 var currentCursorType = cursorInfo.substring(cursorInfo.indexOf('=') + 1, cu rsorInfo.lastIndexOf(' '));
32 shouldBeEqualToString('currentCursorType', 'Progress'); 32 shouldBeEqualToString('currentCursorType', 'Progress');
33 } 33 }
34 </script> 34 </script>
35 <script src="../../fast/js/resources/js-test-post.js"></script>
36 </body> 35 </body>
37 </html> 36 </html>
OLDNEW
« no previous file with comments | « LayoutTests/css3/zoom-coords.xhtml ('k') | LayoutTests/editing/context-menu-leak-document.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698