OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p id="description">Test for dragging operations of <input type=range></p> | 7 <p id="description">Test for dragging operations of <input type=range></p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <style> | 9 <style> |
10 input::-webkit-slider-thumb { | 10 input::-webkit-slider-thumb { |
(...skipping 26 matching lines...) Expand all Loading... |
37 | 37 |
38 debug('Dragging to edge should always set the value to min/max.'); | 38 debug('Dragging to edge should always set the value to min/max.'); |
39 var input = document.getElementById('range'); | 39 var input = document.getElementById('range'); |
40 input.focus(); | 40 input.focus(); |
41 slowDragToLeftEdge(); | 41 slowDragToLeftEdge(); |
42 shouldBeEqualToString('input.value', '0'); | 42 shouldBeEqualToString('input.value', '0'); |
43 slowDragToRightEdge(); | 43 slowDragToRightEdge(); |
44 shouldBeEqualToString('input.value', '255'); | 44 shouldBeEqualToString('input.value', '255'); |
45 debug(''); | 45 debug(''); |
46 </script> | 46 </script> |
47 <script src="../../js/resources/js-test-post.js"></script> | |
48 </body> | 47 </body> |
49 </html> | 48 </html> |
OLD | NEW |