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

Side by Side Diff: LayoutTests/editing/selection/drag-drop-restore.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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body onload="runTest()"> 6 <body onload="runTest()">
7 <input type="text" id="src"> 7 <input type="text" id="src">
8 <input type="text" id="dst"> 8 <input type="text" id="dst">
9 <div id="console"></div> 9 <div id="console"></div>
10 <script> 10 <script>
11 description("This test verifies that content of input box could be restored in ' focus' event fired by drag-and-drop."); 11 description("This test verifies that content of input box could be restored in ' focus' event fired by drag-and-drop.");
12 12
13 var oldValue = "foo"; 13 var oldValue = "foo";
14 14
(...skipping 17 matching lines...) Expand all
32 eventSender.mouseMoveTo(dst.offsetLeft + dst.offsetWidth / 2, dst.offsetTop + dst.offsetHeight / 2); 32 eventSender.mouseMoveTo(dst.offsetLeft + dst.offsetWidth / 2, dst.offsetTop + dst.offsetHeight / 2);
33 eventSender.mouseUp(); 33 eventSender.mouseUp();
34 34
35 shouldBeEqualToString("oldValue", ""); 35 shouldBeEqualToString("oldValue", "");
36 shouldBeEqualToString("src.value", "abc"); 36 shouldBeEqualToString("src.value", "abc");
37 shouldBeEqualToString("dst.value", "abc"); 37 shouldBeEqualToString("dst.value", "abc");
38 } 38 }
39 </script> 39 </script>
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/selection/drag-drop-events.html ('k') | LayoutTests/editing/selection/extend-after-mouse-selection.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698