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

Side by Side Diff: LayoutTests/fast/forms/number/number-spinbutton-capturing.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 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('Test for a capturing bug of spin buttons in a type=numnber input.') ; 8 description('Test for a capturing bug of spin buttons in a type=numnber input.') ;
9 9
10 var parent = document.createElement('div'); 10 var parent = document.createElement('div');
(...skipping 16 matching lines...) Expand all
27 eventSender.mouseMoveTo(anotherInput.offsetLeft + anotherInput.offsetWidth - 10, anotherInput.offsetTop + anotherInput.offsetHeight / 4 - 1); 27 eventSender.mouseMoveTo(anotherInput.offsetLeft + anotherInput.offsetWidth - 10, anotherInput.offsetTop + anotherInput.offsetHeight / 4 - 1);
28 eventSender.mouseDown(); 28 eventSender.mouseDown();
29 eventSender.mouseUp(); 29 eventSender.mouseUp();
30 shouldBe('anotherInput.value', '"2"'); 30 shouldBe('anotherInput.value', '"2"');
31 31
32 parent.innerHTML = ''; 32 parent.innerHTML = '';
33 } else { 33 } else {
34 document.getElementById('console').innerHTML = '<p>No eventSender. <p>Manual test instruction: Click the upper button of the first input field, then click t he upper button of the second input field. Confirm that the second input field value is changed.'; 34 document.getElementById('console').innerHTML = '<p>No eventSender. <p>Manual test instruction: Click the upper button of the first input field, then click t he upper button of the second input field. Confirm that the second input field value is changed.';
35 } 35 }
36 </script> 36 </script>
37 <script src="../../../fast/js/resources/js-test-post.js"></script>
38 </body> 37 </body>
39 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698