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

Side by Side Diff: LayoutTests/fast/forms/range/input-range-validation-message.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 validationMessage IDL attribute for &lt;input type=range>' ); 8 description('Test for validationMessage IDL attribute for &lt;input type=range>' );
9 var parent = document.createElement('div'); 9 var parent = document.createElement('div');
10 document.body.appendChild(parent); 10 document.body.appendChild(parent);
11 parent.innerHTML = '<input type=range id=range maxlength=1 pattern=x>'; 11 parent.innerHTML = '<input type=range id=range maxlength=1 pattern=x>';
12 var input = document.getElementById('range'); 12 var input = document.getElementById('range');
13 13
14 function testIt(value, min, max, step) 14 function testIt(value, min, max, step)
(...skipping 21 matching lines...) Expand all
36 36
37 debug('Range underflow') 37 debug('Range underflow')
38 shouldBeEqualToString('testIt("10", "50", "100")', ''); 38 shouldBeEqualToString('testIt("10", "50", "100")', '');
39 39
40 debug('Step mismatch') 40 debug('Step mismatch')
41 shouldBeEqualToString('testIt("55", "0", "100", "10")', ''); 41 shouldBeEqualToString('testIt("55", "0", "100", "10")', '');
42 42
43 </script> 43 </script>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698