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

Side by Side Diff: LayoutTests/fast/forms/number/number-spinbutton-capturing.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> 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');
11 document.body.appendChild(parent); 11 document.body.appendChild(parent);
12 parent.innerHTML = '<input type=number id=number value=0 min=0 max=100><input ty pe=number id=another value=1 min=0 max=100>'; 12 parent.innerHTML = '<input type=number id=number value=0 min=0 max=100><input ty pe=number id=another value=1 min=0 max=100>';
13 var numberInput = document.getElementById('number'); 13 var numberInput = document.getElementById('number');
14 var anotherInput = document.getElementById('another'); 14 var anotherInput = document.getElementById('another');
(...skipping 14 matching lines...) Expand all
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 </body> 37 </body>
38 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698